@nation-a/ui 0.16.22 → 0.16.24
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/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +209 -209
- package/dist/index.js.map +1 -1
- package/dist/stats.html +1 -1
- package/dist/styled-system/styles.css +70 -26
- package/dist/types/components/Checkbox/checkbox.recipe.d.ts +1 -3
- package/package.json +2 -2
|
@@ -1633,20 +1633,20 @@ html:not(#\#),body:not(#\#) {
|
|
|
1633
1633
|
opacity: 0;
|
|
1634
1634
|
}
|
|
1635
1635
|
|
|
1636
|
-
.
|
|
1637
|
-
color: var(--colors-
|
|
1636
|
+
.c_white\.900A:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1637
|
+
color: var(--colors-white-900-a);
|
|
1638
1638
|
}
|
|
1639
1639
|
|
|
1640
|
-
.
|
|
1641
|
-
|
|
1640
|
+
.c_content\.neutralInverse\.bold:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1641
|
+
color: var(--colors-content-neutral-inverse-bold);
|
|
1642
1642
|
}
|
|
1643
1643
|
|
|
1644
|
-
.
|
|
1645
|
-
|
|
1644
|
+
.w_3\.5:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1645
|
+
width: var(--sizes-3\.5);
|
|
1646
1646
|
}
|
|
1647
1647
|
|
|
1648
|
-
.
|
|
1649
|
-
|
|
1648
|
+
.h_3\.5:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1649
|
+
height: var(--sizes-3\.5);
|
|
1650
1650
|
}
|
|
1651
1651
|
|
|
1652
1652
|
.px_6:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
@@ -1802,6 +1802,10 @@ html:not(#\#),body:not(#\#) {
|
|
|
1802
1802
|
padding-block: var(--spacing-2);
|
|
1803
1803
|
}
|
|
1804
1804
|
|
|
1805
|
+
.bdr_sm:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1806
|
+
border-radius: var(--radii-sm);
|
|
1807
|
+
}
|
|
1808
|
+
|
|
1805
1809
|
.trs_background-color_0\.1s_ease-in-out:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1806
1810
|
transition: background-color 0.1s ease-in-out;
|
|
1807
1811
|
}
|
|
@@ -1826,6 +1830,14 @@ html:not(#\#),body:not(#\#) {
|
|
|
1826
1830
|
width: 64px;
|
|
1827
1831
|
}
|
|
1828
1832
|
|
|
1833
|
+
.w_4\.5:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1834
|
+
width: var(--sizes-4\.5);
|
|
1835
|
+
}
|
|
1836
|
+
|
|
1837
|
+
.h_4\.5:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1838
|
+
height: var(--sizes-4\.5);
|
|
1839
|
+
}
|
|
1840
|
+
|
|
1829
1841
|
.w_90vw:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1830
1842
|
width: 90vw;
|
|
1831
1843
|
}
|
|
@@ -2451,8 +2463,12 @@ html:not(#\#),body:not(#\#) {
|
|
|
2451
2463
|
top: 50%;
|
|
2452
2464
|
}
|
|
2453
2465
|
|
|
2454
|
-
.bd-
|
|
2455
|
-
border-color: var(--colors-
|
|
2466
|
+
.bd-c_white\.900A:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2467
|
+
border-color: var(--colors-white-900-a);
|
|
2468
|
+
}
|
|
2469
|
+
|
|
2470
|
+
.bd-w_1\.5px:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2471
|
+
border-width: 1.5px;
|
|
2456
2472
|
}
|
|
2457
2473
|
|
|
2458
2474
|
.trs-prop_border-color\,_background:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
@@ -2504,6 +2520,10 @@ html:not(#\#),body:not(#\#) {
|
|
|
2504
2520
|
padding-right: var(--spacing-2);
|
|
2505
2521
|
}
|
|
2506
2522
|
|
|
2523
|
+
.bd-c_content\.neutral\.bold:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2524
|
+
border-color: var(--colors-content-neutral-bold);
|
|
2525
|
+
}
|
|
2526
|
+
|
|
2507
2527
|
.bd-w_2px:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2508
2528
|
border-width: 2px;
|
|
2509
2529
|
}
|
|
@@ -2690,6 +2710,10 @@ html:not(#\#),body:not(#\#) {
|
|
|
2690
2710
|
height: 24px;
|
|
2691
2711
|
}
|
|
2692
2712
|
|
|
2713
|
+
.disabled\:c_white\.500A:is(:disabled, [disabled], [data-disabled]):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2714
|
+
color: var(--colors-white-500-a);
|
|
2715
|
+
}
|
|
2716
|
+
|
|
2693
2717
|
.\[\&_svg\]\:w_2\.5:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) svg {
|
|
2694
2718
|
width: var(--sizes-2\.5);
|
|
2695
2719
|
}
|
|
@@ -2698,12 +2722,12 @@ html:not(#\#),body:not(#\#) {
|
|
|
2698
2722
|
height: var(--sizes-2\.5);
|
|
2699
2723
|
}
|
|
2700
2724
|
|
|
2701
|
-
.checked\:
|
|
2702
|
-
background: var(--colors-
|
|
2725
|
+
.checked\:bg_white\.900A:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2726
|
+
background: var(--colors-white-900-a);
|
|
2703
2727
|
}
|
|
2704
2728
|
|
|
2705
|
-
.indeterminate\:
|
|
2706
|
-
background: var(--colors-
|
|
2729
|
+
.indeterminate\:bg_white\.900A:is(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state=indeterminate]):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2730
|
+
background: var(--colors-white-900-a);
|
|
2707
2731
|
}
|
|
2708
2732
|
|
|
2709
2733
|
.disabled\:tch-a_none:is(:disabled, [disabled], [data-disabled]):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
@@ -2798,6 +2822,10 @@ html:not(#\#),body:not(#\#) {
|
|
|
2798
2822
|
gap: var(--spacing-6);
|
|
2799
2823
|
}
|
|
2800
2824
|
|
|
2825
|
+
.checked\:bg_content\.neutral\.bold:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2826
|
+
background: var(--colors-content-neutral-bold);
|
|
2827
|
+
}
|
|
2828
|
+
|
|
2801
2829
|
.checked\:ring-o_-4px:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2802
2830
|
outline-offset: -4px;
|
|
2803
2831
|
}
|
|
@@ -3202,12 +3230,12 @@ html:not(#\#),body:not(#\#) {
|
|
|
3202
3230
|
border-color: var(--colors-border-neutral-disabled);
|
|
3203
3231
|
}
|
|
3204
3232
|
|
|
3205
|
-
.indeterminate\:bd-
|
|
3206
|
-
border-color: var(--colors-
|
|
3233
|
+
.indeterminate\:bd-c_white\.900A:is(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state=indeterminate]):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3234
|
+
border-color: var(--colors-white-900-a);
|
|
3207
3235
|
}
|
|
3208
3236
|
|
|
3209
|
-
.disabled\:bd-
|
|
3210
|
-
border-color: var(--colors-
|
|
3237
|
+
.disabled\:bd-c_white\.500A\!:is(:disabled, [disabled], [data-disabled]):not(#\#):not(#\#) {
|
|
3238
|
+
border-color: var(--colors-white-500-a) !important;
|
|
3211
3239
|
}
|
|
3212
3240
|
|
|
3213
3241
|
.\[\&_textarea\]\:ov-y_auto:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) textarea {
|
|
@@ -3242,6 +3270,10 @@ html:not(#\#),body:not(#\#) {
|
|
|
3242
3270
|
outline-width: 2px;
|
|
3243
3271
|
}
|
|
3244
3272
|
|
|
3273
|
+
.disabled\:bd-c_content\.neutral\.disabled\!:is(:disabled, [disabled], [data-disabled]):not(#\#):not(#\#) {
|
|
3274
|
+
border-color: var(--colors-content-neutral-disabled) !important;
|
|
3275
|
+
}
|
|
3276
|
+
|
|
3245
3277
|
.focusWithin\:bd-c_border\.neutral\.default:focus-within:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3246
3278
|
border-color: var(--colors-border-neutral-default);
|
|
3247
3279
|
}
|
|
@@ -3266,12 +3298,12 @@ html:not(#\#),body:not(#\#) {
|
|
|
3266
3298
|
background-color: var(--colors-background-neutral-default);
|
|
3267
3299
|
}
|
|
3268
3300
|
|
|
3269
|
-
.checked\:disabled\:
|
|
3270
|
-
background: var(--colors-
|
|
3301
|
+
.checked\:disabled\:bg_white\.500A\!:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]):is(:disabled, [disabled], [data-disabled]):not(#\#):not(#\#) {
|
|
3302
|
+
background: var(--colors-white-500-a) !important;
|
|
3271
3303
|
}
|
|
3272
3304
|
|
|
3273
|
-
.indeterminate\:disabled\:
|
|
3274
|
-
background: var(--colors-
|
|
3305
|
+
.indeterminate\:disabled\:bg_white\.500A\!:is(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state=indeterminate]):is(:disabled, [disabled], [data-disabled]):not(#\#):not(#\#) {
|
|
3306
|
+
background: var(--colors-white-500-a) !important;
|
|
3275
3307
|
}
|
|
3276
3308
|
|
|
3277
3309
|
.group:is(:disabled, [disabled], [data-disabled]):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) .placeholder\:groupDisabled\:c_content\.static\.white\.disabled::placeholder, .group:is(:disabled, [disabled], [data-disabled]):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) .placeholder\:groupDisabled\:c_content\.static\.white\.disabled[data-placeholder] {
|
|
@@ -3394,6 +3426,12 @@ html:not(#\#),body:not(#\#) {
|
|
|
3394
3426
|
}
|
|
3395
3427
|
}
|
|
3396
3428
|
|
|
3429
|
+
@media (hover: hover) and (pointer: fine) {
|
|
3430
|
+
.hover\:bd-c_white\.800A:is(:hover, [data-hover]):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3431
|
+
border-color: var(--colors-white-800-a);
|
|
3432
|
+
}
|
|
3433
|
+
}
|
|
3434
|
+
|
|
3397
3435
|
@media (hover: hover) and (pointer: fine) {
|
|
3398
3436
|
.hover\:bd-c_content\.neutral\.subtle:is(:hover, [data-hover]):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3399
3437
|
border-color: var(--colors-content-neutral-subtle);
|
|
@@ -3413,14 +3451,14 @@ html:not(#\#),body:not(#\#) {
|
|
|
3413
3451
|
}
|
|
3414
3452
|
|
|
3415
3453
|
@media (hover: hover) and (pointer: fine) {
|
|
3416
|
-
.checked\:hover\:
|
|
3417
|
-
background: var(--colors-
|
|
3454
|
+
.checked\:hover\:bg_white\.800A:is(:hover, [data-hover]):is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3455
|
+
background: var(--colors-white-800-a);
|
|
3418
3456
|
}
|
|
3419
3457
|
}
|
|
3420
3458
|
|
|
3421
3459
|
@media (hover: hover) and (pointer: fine) {
|
|
3422
|
-
.indeterminate\:hover\:
|
|
3423
|
-
background: var(--colors-
|
|
3460
|
+
.indeterminate\:hover\:bg_white\.800A:is(:hover, [data-hover]):is(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state=indeterminate]):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3461
|
+
background: var(--colors-white-800-a);
|
|
3424
3462
|
}
|
|
3425
3463
|
}
|
|
3426
3464
|
|
|
@@ -3430,6 +3468,12 @@ html:not(#\#),body:not(#\#) {
|
|
|
3430
3468
|
}
|
|
3431
3469
|
}
|
|
3432
3470
|
|
|
3471
|
+
@media (hover: hover) and (pointer: fine) {
|
|
3472
|
+
.checked\:hover\:bg_content\.neutral\.subtle:is(:hover, [data-hover]):is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3473
|
+
background: var(--colors-content-neutral-subtle);
|
|
3474
|
+
}
|
|
3475
|
+
}
|
|
3476
|
+
|
|
3433
3477
|
@media (hover: hover) and (pointer: fine) {
|
|
3434
3478
|
.disabled\:hover\:bg_initial:is(:hover, [data-hover]):is(:disabled, [disabled], [data-disabled]):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3435
3479
|
background: initial;
|
|
@@ -3,9 +3,7 @@ export type CheckboxVariantProps = RecipeVariantProps<typeof checkboxRecipe>;
|
|
|
3
3
|
export declare const checkboxRecipe: import('../../../styled-system/types').SlotRecipeRuntimeFn<"label" | "group" | "indicator" | "root" | "control", {
|
|
4
4
|
variant: {
|
|
5
5
|
square: {
|
|
6
|
-
control: {
|
|
7
|
-
borderRadius: "sm";
|
|
8
|
-
};
|
|
6
|
+
control: {};
|
|
9
7
|
};
|
|
10
8
|
round: {
|
|
11
9
|
control: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nation-a/ui",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.24",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"types": "./dist/types/index.d.ts",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"react-dom": "^18.3.1",
|
|
23
23
|
"react-hot-toast": "^2.5.2",
|
|
24
24
|
"react-lottie": "^1.2.10",
|
|
25
|
-
"@nation-a/icons": "0.4.
|
|
25
|
+
"@nation-a/icons": "0.4.3",
|
|
26
26
|
"@nation-a/tokens": "0.4.2"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|