-
Notifications
You must be signed in to change notification settings - Fork 47
feat(css): selection controls outline variant #4625
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
oddvernes
wants to merge
55
commits into
main
Choose a base branch
from
feat/input-tiles
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
800d6e3
wip input-tile
oddvernes 9230ace
select only outermost clickdelegatefor
oddvernes 19abb30
text
oddvernes 7250a84
handle states
oddvernes 0e512cd
Merge branch 'main' into feat/input-tiles
oddvernes dcc4672
add focus-visible styling
oddvernes bdf01ae
rename & scope to radio/checkbox
oddvernes ef71581
button example text
oddvernes 743987d
added recreation of the Entur example
oddvernes 53d58c5
support direct attribute in radio/switch as well
oddvernes 4b9ea3b
Merge branch 'main' into feat/input-tiles
oddvernes f774604
fix readonly cursor
oddvernes 69431b2
add ds-selection-tile class
oddvernes ef0e19c
add variables for hover/checked
oddvernes b676331
wip changeset
oddvernes 92cab1e
Merge branch 'main' into feat/input-tiles
oddvernes 13589d9
fix disabled opacity & forced color mode
oddvernes c561b3d
undo opacity only our stuff
oddvernes 8dafae1
forgot border-color
oddvernes da9a28c
hover and active border-width variables
oddvernes efe16a8
make checked styles win over hover styles
oddvernes fd0ee97
update stories
oddvernes 8155c84
Merge branch 'main' into feat/input-tiles
oddvernes aa46430
Update packages/css/src/utilities.css
oddvernes 5116c72
fix state specificity
oddvernes 9ddd893
variables for padding/border-radius
oddvernes b5f4039
fix readonly styles
oddvernes 7af6079
rename and new structure
oddvernes 83150a6
remove data-selection-tile selector
oddvernes d97e770
biome
oddvernes 43daf64
use experimental subpath
oddvernes cedfc1e
Merge branch 'main' into feat/input-tiles
oddvernes 555376d
update entur example
oddvernes 01d5548
fix(Field): data-variant="outline" (#4703)
eirikbacker 2b1b2e8
Merge branch 'main' into feat/input-tiles
oddvernes 5c66798
Merge branch 'main' into feat/input-tiles
oddvernes 6e85026
remove experimental path
oddvernes 942e9d1
remove utilities layer
oddvernes 855d94a
checked state for readonly/disabled
oddvernes 63015cc
push to trigger www build
oddvernes 6b04c59
Merge branch 'main' into feat/input-tiles
oddvernes 22a9cce
add outline stories
oddvernes 99e01d4
Merge branch 'main' into feat/input-tiles
oddvernes 0477f77
Update .changeset/polite-islands-lie.md
oddvernes 63febeb
Update packages/react/src/components/switch/switch.tsx
oddvernes 8a5cc58
Update packages/react/src/components/radio/radio.tsx
oddvernes 48ef6ca
Merge branch 'main' into feat/input-tiles
oddvernes 42c38dc
Merge branch 'main' into feat/input-tiles
oddvernes 815dc52
changeset for react
oddvernes d2d6c46
Update packages/css/src/field.css
oddvernes 1d264b1
fic checkbox.mdx undefined story
oddvernes dba4fd4
remove @default declarations
oddvernes 4844699
Merge branch 'main' into feat/input-tiles
oddvernes 56c55b2
Merge branch 'main' into feat/input-tiles
oddvernes 6fb8c24
Merge branch 'main' into feat/input-tiles
oddvernes File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@digdir/designsystemet-css": minor | ||
| --- | ||
|
|
||
| **Field / Radio / Checkbox / Switch**: Now supports `data-variant="outline"` for an outlined tile look. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@digdir/designsystemet-react": minor | ||
| --- | ||
|
|
||
| **Field / Radio / Checkbox / Switch**: added `variant='outline' for an outlined tile look` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.