@box/blueprint-web 12.20.0 → 12.20.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/lib-esm/index.css
CHANGED
|
@@ -6829,7 +6829,7 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
|
|
|
6829
6829
|
min-width:160px;
|
|
6830
6830
|
}
|
|
6831
6831
|
|
|
6832
|
-
.bp_switch_module_option--
|
|
6832
|
+
.bp_switch_module_option--5c4b0{
|
|
6833
6833
|
display:flex;
|
|
6834
6834
|
flex-direction:column;
|
|
6835
6835
|
font-family:var(--body-default-font-family);
|
|
@@ -6841,26 +6841,38 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
|
|
|
6841
6841
|
text-decoration:var(--body-default-text-decoration);
|
|
6842
6842
|
text-transform:var(--body-default-text-case);
|
|
6843
6843
|
}
|
|
6844
|
-
.bp_switch_module_option--
|
|
6844
|
+
.bp_switch_module_option--5c4b0 .bp_switch_module_label--5c4b0{
|
|
6845
6845
|
cursor:pointer;
|
|
6846
6846
|
display:inline-flex;
|
|
6847
6847
|
flex-direction:row;
|
|
6848
6848
|
width:-moz-fit-content;
|
|
6849
6849
|
width:fit-content;
|
|
6850
6850
|
}
|
|
6851
|
-
.bp_switch_module_option--
|
|
6851
|
+
.bp_switch_module_option--5c4b0 .bp_switch_module_label--5c4b0.bp_switch_module_rightAlign--5c4b0{
|
|
6852
6852
|
flex-direction:row-reverse;
|
|
6853
6853
|
justify-content:space-between;
|
|
6854
6854
|
width:unset;
|
|
6855
6855
|
}
|
|
6856
|
-
.bp_switch_module_option--
|
|
6856
|
+
.bp_switch_module_option--5c4b0 .bp_switch_module_description--5c4b0{
|
|
6857
6857
|
margin-left:calc(var(--space-3) + var(--size-10));
|
|
6858
6858
|
}
|
|
6859
|
-
.bp_switch_module_option--
|
|
6859
|
+
.bp_switch_module_option--5c4b0 .bp_switch_module_description--5c4b0.bp_switch_module_rightAlign--5c4b0{
|
|
6860
6860
|
margin-left:unset;
|
|
6861
6861
|
margin-right:calc(var(--space-3) + var(--size-10));
|
|
6862
6862
|
}
|
|
6863
|
-
.bp_switch_module_option--
|
|
6863
|
+
.bp_switch_module_option--5c4b0 .bp_switch_module_thumb--5c4b0{
|
|
6864
|
+
background-color:var(--surface-switch-surface);
|
|
6865
|
+
border:var(--border-1) solid var(--border-switch-border);
|
|
6866
|
+
border-radius:var(--size-10);
|
|
6867
|
+
box-shadow:var(--dropshadow-3);
|
|
6868
|
+
box-sizing:border-box;
|
|
6869
|
+
display:block;
|
|
6870
|
+
height:var(--size-5);
|
|
6871
|
+
transition:transform .4s;
|
|
6872
|
+
width:var(--size-5);
|
|
6873
|
+
will-change:transform;
|
|
6874
|
+
}
|
|
6875
|
+
.bp_switch_module_option--5c4b0 .bp_switch_module_switch--5c4b0{
|
|
6864
6876
|
all:unset;
|
|
6865
6877
|
align-items:center;
|
|
6866
6878
|
background-color:var(--surface-switch-surface-off);
|
|
@@ -6874,35 +6886,23 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
|
|
|
6874
6886
|
width:var(--size-10);
|
|
6875
6887
|
will-change:transition;
|
|
6876
6888
|
}
|
|
6877
|
-
.bp_switch_module_option--
|
|
6889
|
+
.bp_switch_module_option--5c4b0 .bp_switch_module_switch--5c4b0.bp_switch_module_rightAlign--5c4b0{
|
|
6878
6890
|
margin-left:var(--space-10);
|
|
6879
6891
|
margin-right:unset;
|
|
6880
6892
|
}
|
|
6881
|
-
.bp_switch_module_option--
|
|
6893
|
+
.bp_switch_module_option--5c4b0 .bp_switch_module_switch--5c4b0:focus-visible{
|
|
6882
6894
|
box-shadow:0 0 0 var(--border-1, 1px) var(--background-background), 0 0 0 var(--border-3) var(--outline-focus-on-light);
|
|
6883
6895
|
}
|
|
6884
|
-
.bp_switch_module_option--
|
|
6896
|
+
.bp_switch_module_option--5c4b0 .bp_switch_module_switch--5c4b0[aria-checked=true]{
|
|
6885
6897
|
background-color:var(--surface-switch-surface-on);
|
|
6886
6898
|
}
|
|
6887
|
-
.bp_switch_module_option--
|
|
6888
|
-
background-color:var(--surface-switch-surface);
|
|
6889
|
-
border:var(--border-1) solid var(--border-switch-border);
|
|
6890
|
-
border-radius:var(--size-10);
|
|
6891
|
-
box-shadow:var(--dropshadow-3);
|
|
6892
|
-
box-sizing:border-box;
|
|
6893
|
-
display:block;
|
|
6894
|
-
height:var(--size-5);
|
|
6895
|
-
transition:transform .4s;
|
|
6896
|
-
width:var(--size-5);
|
|
6897
|
-
will-change:transform;
|
|
6898
|
-
}
|
|
6899
|
-
.bp_switch_module_option--f04fd .bp_switch_module_thumb--f04fd[data-state=checked]{
|
|
6899
|
+
.bp_switch_module_option--5c4b0 .bp_switch_module_switch--5c4b0[aria-checked=true] .bp_switch_module_thumb--5c4b0{
|
|
6900
6900
|
transform:translateX(calc(var(--size-10)/2));
|
|
6901
6901
|
}
|
|
6902
|
-
.bp_switch_module_option--
|
|
6902
|
+
.bp_switch_module_option--5c4b0.bp_switch_module_disabled--5c4b0 .bp_switch_module_label--5c4b0{
|
|
6903
6903
|
cursor:default;
|
|
6904
6904
|
}
|
|
6905
|
-
.bp_switch_module_option--
|
|
6905
|
+
.bp_switch_module_option--5c4b0.bp_switch_module_disabled--5c4b0 .bp_switch_module_switch--5c4b0{
|
|
6906
6906
|
opacity:60%;
|
|
6907
6907
|
}
|
|
6908
6908
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../index.css';
|
|
2
|
-
var styles = {"option":"bp_switch_module_option--
|
|
2
|
+
var styles = {"option":"bp_switch_module_option--5c4b0","label":"bp_switch_module_label--5c4b0","rightAlign":"bp_switch_module_rightAlign--5c4b0","description":"bp_switch_module_description--5c4b0","thumb":"bp_switch_module_thumb--5c4b0","switch":"bp_switch_module_switch--5c4b0","disabled":"bp_switch_module_disabled--5c4b0"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/blueprint-web",
|
|
3
|
-
"version": "12.20.
|
|
3
|
+
"version": "12.20.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"publishConfig": {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@ariakit/react": "0.4.15",
|
|
49
49
|
"@ariakit/react-core": "0.4.15",
|
|
50
|
-
"@box/blueprint-web-assets": "^4.
|
|
50
|
+
"@box/blueprint-web-assets": "^4.56.0",
|
|
51
51
|
"@internationalized/date": "^3.7.0",
|
|
52
52
|
"@radix-ui/react-accordion": "1.1.2",
|
|
53
53
|
"@radix-ui/react-checkbox": "1.0.4",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"type-fest": "^3.2.0"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
|
-
"@box/storybook-utils": "^0.13.
|
|
80
|
+
"@box/storybook-utils": "^0.13.9",
|
|
81
81
|
"@types/react": "^18.0.0",
|
|
82
82
|
"@types/react-dom": "^18.0.0",
|
|
83
83
|
"react": "^18.3.0",
|