@kenlo/kdls-design-system 2.29.0 → 2.30.1
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/components/Header/Header.d.ts +2 -0
- package/dist/components/Text/Text.d.ts +11 -0
- package/dist/components/Theme/Theme.d.ts +17 -4
- package/dist/index.cjs +3 -3
- package/dist/index.css +1 -1
- package/dist/index.js +1642 -1610
- package/foundations/tokens.css +178 -16
- package/kdls-manifest.json +89 -15
- package/package.json +1 -1
package/foundations/tokens.css
CHANGED
|
@@ -1194,7 +1194,6 @@
|
|
|
1194
1194
|
--color-black: #000000;
|
|
1195
1195
|
--color-on-primary: var(--color-white);
|
|
1196
1196
|
--component-bg-color: var(--color-neutral-00);
|
|
1197
|
-
--border-interactive-color: var(--color-neutral-30);
|
|
1198
1197
|
--border-static-color: var(--color-neutral-20);
|
|
1199
1198
|
--placeholder-color: var(--color-neutral-60);
|
|
1200
1199
|
--focus-stroke-color: var(--color-neutral-100);
|
|
@@ -3653,6 +3652,11 @@
|
|
|
3653
3652
|
--shadow-drop-sm: 0 1px 4px 0 rgba(0, 0, 0, 0.12);
|
|
3654
3653
|
--shadow-drop-md: 0 4px 12px 0 rgba(0, 0, 0, 0.12);
|
|
3655
3654
|
--shadow-drop-lg: 0 8px 24px 0 rgba(0, 0, 0, 0.16);
|
|
3655
|
+
/* The same soft shadows, kept apart: a disabled control takes them back under any shadow
|
|
3656
|
+
scheme (see "Disabled stays disabled" below). */
|
|
3657
|
+
--shadow-soft-sm: 0 1px 4px 0 rgba(0, 0, 0, 0.12);
|
|
3658
|
+
--shadow-soft-md: 0 4px 12px 0 rgba(0, 0, 0, 0.12);
|
|
3659
|
+
--shadow-soft-lg: 0 8px 24px 0 rgba(0, 0, 0, 0.16);
|
|
3656
3660
|
/* Under what sits on a filled control (Switch knob, Radio centre, Checkbox check), so it
|
|
3657
3661
|
stands out on a light colour. Dark in both themes: it falls on the control, not on the
|
|
3658
3662
|
page. One layer, no spread, so filter: drop-shadow() can read it too. */
|
|
@@ -3663,6 +3667,9 @@
|
|
|
3663
3667
|
--shadow-drop-sm: 0 2px 10px 0 rgba(255, 255, 255, 0.07);
|
|
3664
3668
|
--shadow-drop-md: 0 4px 18px 0 rgba(255, 255, 255, 0.09);
|
|
3665
3669
|
--shadow-drop-lg: 0 8px 28px 0 rgba(255, 255, 255, 0.11);
|
|
3670
|
+
--shadow-soft-sm: 0 2px 10px 0 rgba(255, 255, 255, 0.07);
|
|
3671
|
+
--shadow-soft-md: 0 4px 18px 0 rgba(255, 255, 255, 0.09);
|
|
3672
|
+
--shadow-soft-lg: 0 8px 28px 0 rgba(255, 255, 255, 0.11);
|
|
3666
3673
|
}
|
|
3667
3674
|
|
|
3668
3675
|
/* ------------------------------------------------------------------------------ */
|
|
@@ -3800,40 +3807,195 @@
|
|
|
3800
3807
|
--font-family-base: "Red Hat Text", sans-serif;
|
|
3801
3808
|
}
|
|
3802
3809
|
|
|
3803
|
-
/* Stroke scheme
|
|
3804
|
-
|
|
3805
|
-
|
|
3810
|
+
/* Stroke scheme (Rafael, 24 Nov 2026): soft (default), medium and hard. Soft is every stroke as
|
|
3811
|
+
it was drawn; medium adds 1px to each and hard adds 2px. A 1px stroke (Input) becomes 2px / 3px
|
|
3812
|
+
and a stroke drawn at 2px (--stroke-width-thick: ghost Button, Uploader) becomes 3px / 4px.
|
|
3813
|
+
data-stroke on <html> (or any ancestor). Focus rings are not strokes.
|
|
3814
|
+
The values of the first version (data-stroke="2|3|4": 2/3/4px, and 2px strokes as the larger of
|
|
3815
|
+
2px and that) still work, so a site saved with them keeps its look. */
|
|
3806
3816
|
:root {
|
|
3807
3817
|
--stroke-width: 1px;
|
|
3818
|
+
--stroke-width-thick: 2px;
|
|
3819
|
+
}
|
|
3820
|
+
|
|
3821
|
+
[data-stroke="medium"] {
|
|
3822
|
+
--stroke-width: 2px;
|
|
3823
|
+
--stroke-width-thick: 3px;
|
|
3824
|
+
}
|
|
3825
|
+
|
|
3826
|
+
[data-stroke="hard"] {
|
|
3827
|
+
--stroke-width: 3px;
|
|
3828
|
+
--stroke-width-thick: 4px;
|
|
3808
3829
|
}
|
|
3809
3830
|
|
|
3810
3831
|
[data-stroke="2"] {
|
|
3811
3832
|
--stroke-width: 2px;
|
|
3833
|
+
--stroke-width-thick: 2px;
|
|
3812
3834
|
}
|
|
3813
3835
|
|
|
3814
3836
|
[data-stroke="3"] {
|
|
3815
3837
|
--stroke-width: 3px;
|
|
3838
|
+
--stroke-width-thick: 3px;
|
|
3816
3839
|
}
|
|
3817
3840
|
|
|
3818
3841
|
[data-stroke="4"] {
|
|
3819
3842
|
--stroke-width: 4px;
|
|
3843
|
+
--stroke-width-thick: 4px;
|
|
3844
|
+
}
|
|
3845
|
+
|
|
3846
|
+
/* Outer stroke by background (Rafael, 24 Nov 2026), both DS. A surface sitting straight on the page
|
|
3847
|
+
(neutral 0 or 10) draws no outer stroke: the page already sets it apart. The same surface inside
|
|
3848
|
+
a white one (a Card in a Card, an Accordion in a Modal…) draws the control line, so it follows
|
|
3849
|
+
the default colour, "Linha marcada" and the stroke width. Card, Accordion, Table, StatCard and
|
|
3850
|
+
the Header bottom line read --surface-stroke-color; whatever sits inside one of these white
|
|
3851
|
+
surfaces gets the line. A white page or section says so with data-surface="white"; a page-grey
|
|
3852
|
+
region inside a white surface with data-surface="page". */
|
|
3853
|
+
:root {
|
|
3854
|
+
--surface-stroke-color: transparent;
|
|
3855
|
+
}
|
|
3856
|
+
|
|
3857
|
+
:is(.kdls-card, .kdls-accordion, .kdls-table, .kdls-stat-card, .kdls-modal, .kdls-drawer, .kdls-bottomsheet, .kdls-popover__panel, .kdls-header, [data-surface="white"]) * {
|
|
3858
|
+
--surface-stroke-color: var(--border-interactive-color);
|
|
3859
|
+
}
|
|
3860
|
+
|
|
3861
|
+
[data-surface="page"],
|
|
3862
|
+
[data-surface="page"] * {
|
|
3863
|
+
--surface-stroke-color: transparent;
|
|
3864
|
+
}
|
|
3865
|
+
|
|
3866
|
+
[data-surface="page"] [data-surface="white"] * {
|
|
3867
|
+
--surface-stroke-color: var(--border-interactive-color);
|
|
3868
|
+
}
|
|
3869
|
+
|
|
3870
|
+
/* "Linha marcada" (data-stroke-marked="true"): every line goes up $marked-line-steps steps on the
|
|
3871
|
+
neutral scale (Rafael, 24 Nov 2026: 5 steps as the rule). Controls 20 -> 70 (30 -> 80 in dark), dividers 20 -> 70,
|
|
3872
|
+
also in Kenlo products, where dividers otherwise take the page colour. The neutral tokens mirror
|
|
3873
|
+
in dark, so there the lines go the other way (70 -> 20, 80 -> 30). Components with a line in
|
|
3874
|
+
another tone (Alert, Switch, Header, DatePicker, Table, Uploader) move it by the same steps in
|
|
3875
|
+
their own file. Lines on primary tone 50 (outline Button, selected date) keep it. */
|
|
3876
|
+
/* Lighter lines (Valdir Primo, Imóveis; Rafael, 24 Nov 2026), light theme only: the line of a
|
|
3877
|
+
control is neutral 20 (was 30), so no line uses neutral 30 in light any more. Dark keeps
|
|
3878
|
+
neutral 30 (its mirror). -rest is the line without "Linha marcada", -marked the line with it
|
|
3879
|
+
($marked-line-steps steps up). Re-declared under a nested theme so each subtree reads its own. */
|
|
3880
|
+
:root,
|
|
3881
|
+
[data-theme="light"] {
|
|
3882
|
+
--border-interactive-color-rest: var(--color-neutral-20);
|
|
3883
|
+
--border-interactive-color-marked: var(--color-neutral-70);
|
|
3884
|
+
--border-interactive-color: var(--border-interactive-color-rest);
|
|
3885
|
+
}
|
|
3886
|
+
|
|
3887
|
+
[data-theme="dark"] {
|
|
3888
|
+
--border-interactive-color-rest: var(--color-neutral-30);
|
|
3889
|
+
--border-interactive-color-marked: var(--color-neutral-80);
|
|
3890
|
+
--border-interactive-color: var(--border-interactive-color-rest);
|
|
3891
|
+
}
|
|
3892
|
+
|
|
3893
|
+
[data-stroke-marked="true"],
|
|
3894
|
+
[data-stroke-marked="true"] [data-theme="dark"],
|
|
3895
|
+
[data-stroke-marked="true"] [data-theme="light"],
|
|
3896
|
+
[data-product="kenlo"][data-stroke-marked="true"],
|
|
3897
|
+
[data-product="kenlo"] [data-stroke-marked="true"] {
|
|
3898
|
+
--border-interactive-color: var(--border-interactive-color-marked);
|
|
3899
|
+
--border-static-color: var(--color-neutral-70);
|
|
3900
|
+
}
|
|
3901
|
+
|
|
3902
|
+
/* Disabled stays disabled (Rafael, 24 Nov 2026: "Se é disable, é disable"). "Linha marcada" never
|
|
3903
|
+
reaches a disabled control: a disabled element (or a container marked --disabled) takes the
|
|
3904
|
+
unmarked line colours back, and its children inherit them. The thickness still follows
|
|
3905
|
+
data-stroke, so nothing moves when a control turns disabled. */
|
|
3906
|
+
[data-stroke-marked="true"] :is(:disabled, [aria-disabled="true"], [class*="--disabled"]),
|
|
3907
|
+
[data-stroke-marked="true"]:is(:disabled, [aria-disabled="true"], [class*="--disabled"]) {
|
|
3908
|
+
--border-interactive-color: var(--border-interactive-color-rest);
|
|
3909
|
+
--border-static-color: var(--color-neutral-20);
|
|
3910
|
+
}
|
|
3911
|
+
|
|
3912
|
+
[data-product="kenlo"] [data-stroke-marked="true"] :is(:disabled, [aria-disabled="true"], [class*="--disabled"]),
|
|
3913
|
+
[data-product="kenlo"][data-stroke-marked="true"] :is(:disabled, [aria-disabled="true"], [class*="--disabled"]),
|
|
3914
|
+
[data-stroke-marked="true"] [data-product="kenlo"] :is(:disabled, [aria-disabled="true"], [class*="--disabled"]) {
|
|
3915
|
+
--border-static-color: var(--page-bg-color);
|
|
3916
|
+
}
|
|
3917
|
+
|
|
3918
|
+
/* Shadow scheme (Rafael, 24 Nov 2026): soft (default: the blurred shadows above), medium and hard.
|
|
3919
|
+
Hard = offset, no blur. Medium = a shorter offset with a blur twice as long. "smooth" is the old
|
|
3920
|
+
name of soft and still works. --shadow-on-primary never changes.
|
|
3921
|
+
|
|
3922
|
+
The DS gives the default and the developer refining a layout can change it. Set these on :root
|
|
3923
|
+
(or on the element that carries data-shadow); the DS itself never declares them, so the
|
|
3924
|
+
override wins whatever order the stylesheets load in:
|
|
3925
|
+
--shadow-hard-distance offset of the md hard shadow (default 8px; sm x0.5, lg and drawer
|
|
3926
|
+
x1.5, modal x2, bar x1)
|
|
3927
|
+
--shadow-hard-color colour of the hard shadow (default: --shadow-scheme-color)
|
|
3928
|
+
--shadow-medium-distance offset of the md medium shadow (default 4px; same ratios, blur x2)
|
|
3929
|
+
--shadow-medium-color colour of the medium shadow (default: --shadow-scheme-color at 45%)
|
|
3930
|
+
--shadow-scheme-color is the strongest neutral (black in light, white in dark), or the scheme
|
|
3931
|
+
colour with "Sombra colorida". Re-declared under a nested theme so the colour follows the theme
|
|
3932
|
+
where the shadow is painted. */
|
|
3933
|
+
[data-shadow],
|
|
3934
|
+
[data-shadow] [data-theme="dark"],
|
|
3935
|
+
[data-shadow] [data-theme="light"] {
|
|
3936
|
+
--shadow-scheme-color: var(--color-neutral-100);
|
|
3937
|
+
}
|
|
3938
|
+
|
|
3939
|
+
/* "Sombra colorida" (data-shadow-colored="true"): the shadow takes the scheme colour (its solid
|
|
3940
|
+
tone 50; a gradient gives its first colour). Soft keeps its blur and its weight, tinted. */
|
|
3941
|
+
[data-shadow-colored="true"],
|
|
3942
|
+
[data-shadow-colored="true"] [data-theme="dark"],
|
|
3943
|
+
[data-shadow-colored="true"] [data-theme="light"] {
|
|
3944
|
+
--shadow-scheme-color: var(--color-primary-50-solid);
|
|
3945
|
+
--shadow-soft-tint: color-mix(in srgb, var(--color-primary-50-solid) 28%, transparent);
|
|
3946
|
+
--shadow-drop-sm: 0 1px 4px 0 var(--shadow-soft-tint);
|
|
3947
|
+
--shadow-drop-md: 0 4px 12px 0 var(--shadow-soft-tint);
|
|
3948
|
+
--shadow-drop-lg: 0 8px 24px 0 var(--shadow-soft-tint);
|
|
3949
|
+
--shadow-drop-md-hard: 0 4px 12px 0 var(--shadow-soft-tint);
|
|
3950
|
+
--shadow-modal-hard: 0 0 2px var(--shadow-soft-tint), 0 0 16px var(--shadow-soft-tint);
|
|
3951
|
+
--shadow-drawer-hard: -4px 0 24px var(--shadow-soft-tint);
|
|
3952
|
+
--shadow-drawer-left-hard: 4px 0 24px var(--shadow-soft-tint);
|
|
3953
|
+
--shadow-bar-hard: 0 -4px 24px var(--shadow-soft-tint);
|
|
3954
|
+
}
|
|
3955
|
+
|
|
3956
|
+
[data-shadow="medium"],
|
|
3957
|
+
[data-shadow="medium"] [data-theme="dark"],
|
|
3958
|
+
[data-shadow="medium"] [data-theme="light"] {
|
|
3959
|
+
--shadow-medium-d: var(--shadow-medium-distance, 4px);
|
|
3960
|
+
--shadow-medium-paint: var(--shadow-medium-color, color-mix(in srgb, var(--shadow-scheme-color) 45%, transparent));
|
|
3961
|
+
--shadow-drop-sm: calc(var(--shadow-medium-d) * 0.5) calc(var(--shadow-medium-d) * 0.5) var(--shadow-medium-d) 0 var(--shadow-medium-paint);
|
|
3962
|
+
--shadow-drop-md: var(--shadow-medium-d) var(--shadow-medium-d) calc(var(--shadow-medium-d) * 2) 0 var(--shadow-medium-paint);
|
|
3963
|
+
--shadow-drop-lg: calc(var(--shadow-medium-d) * 1.5) calc(var(--shadow-medium-d) * 1.5) calc(var(--shadow-medium-d) * 3) 0 var(--shadow-medium-paint);
|
|
3964
|
+
--shadow-drop-md-hard: var(--shadow-medium-d) var(--shadow-medium-d) calc(var(--shadow-medium-d) * 2) 0 var(--shadow-medium-paint);
|
|
3965
|
+
--shadow-modal-hard: calc(var(--shadow-medium-d) * 2) calc(var(--shadow-medium-d) * 2) calc(var(--shadow-medium-d) * 4) 0 var(--shadow-medium-paint);
|
|
3966
|
+
--shadow-drawer-hard: calc(var(--shadow-medium-d) * -1.5) 0 calc(var(--shadow-medium-d) * 3) 0 var(--shadow-medium-paint);
|
|
3967
|
+
--shadow-drawer-left-hard: calc(var(--shadow-medium-d) * 1.5) 0 calc(var(--shadow-medium-d) * 3) 0 var(--shadow-medium-paint);
|
|
3968
|
+
--shadow-bar-hard: 0 calc(var(--shadow-medium-d) * -1) calc(var(--shadow-medium-d) * 2) 0 var(--shadow-medium-paint);
|
|
3820
3969
|
}
|
|
3821
3970
|
|
|
3822
|
-
/* Shadow scheme: "smooth" (default, the blurred shadows above) or "hard" — offset, no blur, in the
|
|
3823
|
-
strongest neutral (black in light, white in dark). Re-declared under a nested dark theme so the
|
|
3824
|
-
colour follows the theme where the shadow is painted. --shadow-on-primary stays as it is. */
|
|
3825
3971
|
[data-shadow="hard"],
|
|
3826
3972
|
[data-shadow="hard"] [data-theme="dark"],
|
|
3827
3973
|
[data-shadow="hard"] [data-theme="light"] {
|
|
3828
|
-
--shadow-hard-
|
|
3829
|
-
--shadow-
|
|
3830
|
-
--shadow-drop-
|
|
3831
|
-
--shadow-drop-
|
|
3832
|
-
--shadow-drop-
|
|
3833
|
-
--shadow-
|
|
3834
|
-
--shadow-
|
|
3835
|
-
--shadow-drawer-
|
|
3836
|
-
--shadow-
|
|
3974
|
+
--shadow-hard-d: var(--shadow-hard-distance, 8px);
|
|
3975
|
+
--shadow-hard-paint: var(--shadow-hard-color, var(--shadow-scheme-color));
|
|
3976
|
+
--shadow-drop-sm: calc(var(--shadow-hard-d) * 0.5) calc(var(--shadow-hard-d) * 0.5) 0 0 var(--shadow-hard-paint);
|
|
3977
|
+
--shadow-drop-md: var(--shadow-hard-d) var(--shadow-hard-d) 0 0 var(--shadow-hard-paint);
|
|
3978
|
+
--shadow-drop-lg: calc(var(--shadow-hard-d) * 1.5) calc(var(--shadow-hard-d) * 1.5) 0 0 var(--shadow-hard-paint);
|
|
3979
|
+
--shadow-drop-md-hard: var(--shadow-hard-d) var(--shadow-hard-d) 0 0 var(--shadow-hard-paint);
|
|
3980
|
+
--shadow-modal-hard: calc(var(--shadow-hard-d) * 2) calc(var(--shadow-hard-d) * 2) 0 0 var(--shadow-hard-paint);
|
|
3981
|
+
--shadow-drawer-hard: calc(var(--shadow-hard-d) * -1.5) 0 0 0 var(--shadow-hard-paint);
|
|
3982
|
+
--shadow-drawer-left-hard: calc(var(--shadow-hard-d) * 1.5) 0 0 0 var(--shadow-hard-paint);
|
|
3983
|
+
--shadow-bar-hard: 0 calc(var(--shadow-hard-d) * -1) 0 0 var(--shadow-hard-paint);
|
|
3984
|
+
}
|
|
3985
|
+
|
|
3986
|
+
/* Disabled stays disabled, shadows too: under medium, hard or "Sombra colorida" a disabled element
|
|
3987
|
+
(or a container marked --disabled) keeps the soft shadow of its theme, and the -hard slots
|
|
3988
|
+
are unset so components fall back to their soft drawing. */
|
|
3989
|
+
[data-shadow] :is(:disabled, [aria-disabled="true"], [class*="--disabled"]),
|
|
3990
|
+
[data-shadow-colored="true"] :is(:disabled, [aria-disabled="true"], [class*="--disabled"]) {
|
|
3991
|
+
--shadow-drop-sm: var(--shadow-soft-sm);
|
|
3992
|
+
--shadow-drop-md: var(--shadow-soft-md);
|
|
3993
|
+
--shadow-drop-lg: var(--shadow-soft-lg);
|
|
3994
|
+
--shadow-drop-md-hard: initial;
|
|
3995
|
+
--shadow-modal-hard: initial;
|
|
3996
|
+
--shadow-drawer-hard: initial;
|
|
3997
|
+
--shadow-drawer-left-hard: initial;
|
|
3998
|
+
--shadow-bar-hard: initial;
|
|
3837
3999
|
}
|
|
3838
4000
|
|
|
3839
4001
|
/* Look "rede" (Kenlo Rede, data-look="rede"): the primary Button fills with the darker Kenlo
|
package/kdls-manifest.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"package": {
|
|
3
3
|
"name": "@kenlo/kdls-design-system",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.30.1"
|
|
5
5
|
},
|
|
6
6
|
"install": {
|
|
7
7
|
"add": "npm install @kenlo/kdls-design-system",
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
"counts": {
|
|
15
15
|
"components": 60,
|
|
16
16
|
"propsTables": 85,
|
|
17
|
-
"props":
|
|
18
|
-
"tokens":
|
|
19
|
-
"api":
|
|
17
|
+
"props": 756,
|
|
18
|
+
"tokens": 627,
|
|
19
|
+
"api": 19,
|
|
20
20
|
"icons": 49
|
|
21
21
|
},
|
|
22
22
|
"components": [
|
|
@@ -2320,8 +2320,8 @@
|
|
|
2320
2320
|
"name": "products",
|
|
2321
2321
|
"type": "HeaderProduct[]",
|
|
2322
2322
|
"default": "[]",
|
|
2323
|
-
"description": "Lista de produtos Kenlo para navegação cruzada — o botão de grid só aparece quando há mais de 1 item (1 item = o próprio produto atual, sem destino pra navegar)",
|
|
2324
|
-
"example": "[{ label: 'Sites' }, { label: 'CRM' }]"
|
|
2323
|
+
"description": "Lista de produtos Kenlo para navegação cruzada — o botão de grid só aparece quando há mais de 1 item (1 item = o próprio produto atual, sem destino pra navegar). Item com isNew: true ganha o selo Novo depois do nome",
|
|
2324
|
+
"example": "[{ label: 'Sites', isNew: true }, { label: 'CRM' }]"
|
|
2325
2325
|
},
|
|
2326
2326
|
{
|
|
2327
2327
|
"name": "productSwitcher",
|
|
@@ -5597,9 +5597,16 @@
|
|
|
5597
5597
|
"name": "color",
|
|
5598
5598
|
"type": "'default'|'inherit'|'primary'|'error'|'success'|'alert'",
|
|
5599
5599
|
"default": "'default'",
|
|
5600
|
-
"description": "Cor do texto (token). 'inherit' pega a cor computada do elemento pai — usar quando a cor real é decidida por um ancestral (ex.: o variant de outro componente). 'primary' segue o scheme/custom selecionado — vira gradiente quando o scheme ativo é lya",
|
|
5600
|
+
"description": "Cor do texto (token). 'inherit' pega a cor computada do elemento pai — usar quando a cor real é decidida por um ancestral (ex.: o variant de outro componente). 'primary' segue o scheme/custom selecionado — vira gradiente quando o scheme ativo é lya ou há gradiente personalizado. Num título, é o jeito de deixá-lo colorido",
|
|
5601
5601
|
"example": "color=\"primary\""
|
|
5602
5602
|
},
|
|
5603
|
+
{
|
|
5604
|
+
"name": "outlineWidth",
|
|
5605
|
+
"type": "number",
|
|
5606
|
+
"default": "pelo tamanho",
|
|
5607
|
+
"description": "Experimental. Espessura do contorno em px, só com outline. Padrão: 2 no displayLg, 1.5 no displayMd/displaySm, 1 nos títulos",
|
|
5608
|
+
"example": "outlineWidth={3}"
|
|
5609
|
+
},
|
|
5603
5610
|
{
|
|
5604
5611
|
"name": "htmlFor",
|
|
5605
5612
|
"type": "string",
|
|
@@ -5614,6 +5621,13 @@
|
|
|
5614
5621
|
"description": "Id do elemento — para ser referenciado por aria-labelledby/aria-describedby de outro elemento",
|
|
5615
5622
|
"example": "id=\"hint-email\""
|
|
5616
5623
|
},
|
|
5624
|
+
{
|
|
5625
|
+
"name": "outline",
|
|
5626
|
+
"type": "boolean",
|
|
5627
|
+
"default": "false",
|
|
5628
|
+
"description": "Experimental, só para desenvolvedores (não aparece no seletor do portal). Desenha as letras só com o contorno, sem preenchimento, na cor do próprio texto (segue color, o tema e o gradiente personalizado). Vale só para títulos e display; body e label ignoram",
|
|
5629
|
+
"example": "outline"
|
|
5630
|
+
},
|
|
5617
5631
|
{
|
|
5618
5632
|
"name": "className",
|
|
5619
5633
|
"type": "string",
|
|
@@ -5987,6 +6001,16 @@
|
|
|
5987
6001
|
"import": "import { SCROLLBAR_CLASSES } from '@kenlo/kdls-design-system'",
|
|
5988
6002
|
"from": "foundations/Scrollbar/index.ts"
|
|
5989
6003
|
},
|
|
6004
|
+
{
|
|
6005
|
+
"name": "TEXT_OUTLINE_DEFAULT_WIDTH",
|
|
6006
|
+
"import": "import { TEXT_OUTLINE_DEFAULT_WIDTH } from '@kenlo/kdls-design-system'",
|
|
6007
|
+
"from": "components/Text/Text.tsx"
|
|
6008
|
+
},
|
|
6009
|
+
{
|
|
6010
|
+
"name": "TEXT_OUTLINE_VARIANTS",
|
|
6011
|
+
"import": "import { TEXT_OUTLINE_VARIANTS } from '@kenlo/kdls-design-system'",
|
|
6012
|
+
"from": "components/Text/Text.tsx"
|
|
6013
|
+
},
|
|
5990
6014
|
{
|
|
5991
6015
|
"name": "Toaster",
|
|
5992
6016
|
"import": "import { Toaster } from '@kenlo/kdls-design-system'",
|
|
@@ -6122,7 +6146,15 @@
|
|
|
6122
6146
|
"border": [
|
|
6123
6147
|
{
|
|
6124
6148
|
"name": "--border-interactive-color",
|
|
6125
|
-
"value": "var(--color-
|
|
6149
|
+
"value": "var(--border-interactive-color-rest)"
|
|
6150
|
+
},
|
|
6151
|
+
{
|
|
6152
|
+
"name": "--border-interactive-color-marked",
|
|
6153
|
+
"value": "var(--color-neutral-70)"
|
|
6154
|
+
},
|
|
6155
|
+
{
|
|
6156
|
+
"name": "--border-interactive-color-rest",
|
|
6157
|
+
"value": "var(--color-neutral-20)"
|
|
6126
6158
|
},
|
|
6127
6159
|
{
|
|
6128
6160
|
"name": "--border-static-color",
|
|
@@ -8510,15 +8542,15 @@
|
|
|
8510
8542
|
"shadow": [
|
|
8511
8543
|
{
|
|
8512
8544
|
"name": "--shadow-bar-hard",
|
|
8513
|
-
"value": "0 -4px
|
|
8545
|
+
"value": "0 -4px 24px var(--shadow-soft-tint)"
|
|
8514
8546
|
},
|
|
8515
8547
|
{
|
|
8516
8548
|
"name": "--shadow-drawer-hard",
|
|
8517
|
-
"value": "-
|
|
8549
|
+
"value": "-4px 0 24px var(--shadow-soft-tint)"
|
|
8518
8550
|
},
|
|
8519
8551
|
{
|
|
8520
8552
|
"name": "--shadow-drawer-left-hard",
|
|
8521
|
-
"value": "
|
|
8553
|
+
"value": "4px 0 24px var(--shadow-soft-tint)"
|
|
8522
8554
|
},
|
|
8523
8555
|
{
|
|
8524
8556
|
"name": "--shadow-drop-lg",
|
|
@@ -8530,23 +8562,55 @@
|
|
|
8530
8562
|
},
|
|
8531
8563
|
{
|
|
8532
8564
|
"name": "--shadow-drop-md-hard",
|
|
8533
|
-
"value": "
|
|
8565
|
+
"value": "0 4px 12px 0 var(--shadow-soft-tint)"
|
|
8534
8566
|
},
|
|
8535
8567
|
{
|
|
8536
8568
|
"name": "--shadow-drop-sm",
|
|
8537
8569
|
"value": "0 1px 4px 0 rgba(0, 0, 0, 0.12)"
|
|
8538
8570
|
},
|
|
8539
8571
|
{
|
|
8540
|
-
"name": "--shadow-hard-
|
|
8541
|
-
"value": "var(--
|
|
8572
|
+
"name": "--shadow-hard-d",
|
|
8573
|
+
"value": "var(--shadow-hard-distance, 8px)"
|
|
8574
|
+
},
|
|
8575
|
+
{
|
|
8576
|
+
"name": "--shadow-hard-paint",
|
|
8577
|
+
"value": "var(--shadow-hard-color, var(--shadow-scheme-color))"
|
|
8578
|
+
},
|
|
8579
|
+
{
|
|
8580
|
+
"name": "--shadow-medium-d",
|
|
8581
|
+
"value": "var(--shadow-medium-distance, 4px)"
|
|
8582
|
+
},
|
|
8583
|
+
{
|
|
8584
|
+
"name": "--shadow-medium-paint",
|
|
8585
|
+
"value": "var(--shadow-medium-color, color-mix(in srgb, var(--shadow-scheme-color) 45%, transparent))"
|
|
8542
8586
|
},
|
|
8543
8587
|
{
|
|
8544
8588
|
"name": "--shadow-modal-hard",
|
|
8545
|
-
"value": "
|
|
8589
|
+
"value": "0 0 2px var(--shadow-soft-tint), 0 0 16px var(--shadow-soft-tint)"
|
|
8546
8590
|
},
|
|
8547
8591
|
{
|
|
8548
8592
|
"name": "--shadow-on-primary",
|
|
8549
8593
|
"value": "0 1px 3px rgba(0, 0, 0, 0.36)"
|
|
8594
|
+
},
|
|
8595
|
+
{
|
|
8596
|
+
"name": "--shadow-scheme-color",
|
|
8597
|
+
"value": "var(--color-neutral-100)"
|
|
8598
|
+
},
|
|
8599
|
+
{
|
|
8600
|
+
"name": "--shadow-soft-lg",
|
|
8601
|
+
"value": "0 8px 24px 0 rgba(0, 0, 0, 0.16)"
|
|
8602
|
+
},
|
|
8603
|
+
{
|
|
8604
|
+
"name": "--shadow-soft-md",
|
|
8605
|
+
"value": "0 4px 12px 0 rgba(0, 0, 0, 0.12)"
|
|
8606
|
+
},
|
|
8607
|
+
{
|
|
8608
|
+
"name": "--shadow-soft-sm",
|
|
8609
|
+
"value": "0 1px 4px 0 rgba(0, 0, 0, 0.12)"
|
|
8610
|
+
},
|
|
8611
|
+
{
|
|
8612
|
+
"name": "--shadow-soft-tint",
|
|
8613
|
+
"value": "color-mix(in srgb, var(--color-primary-50-solid) 28%, transparent)"
|
|
8550
8614
|
}
|
|
8551
8615
|
],
|
|
8552
8616
|
"spacing": [
|
|
@@ -8611,6 +8675,16 @@
|
|
|
8611
8675
|
{
|
|
8612
8676
|
"name": "--stroke-width",
|
|
8613
8677
|
"value": "1px"
|
|
8678
|
+
},
|
|
8679
|
+
{
|
|
8680
|
+
"name": "--stroke-width-thick",
|
|
8681
|
+
"value": "2px"
|
|
8682
|
+
}
|
|
8683
|
+
],
|
|
8684
|
+
"surface": [
|
|
8685
|
+
{
|
|
8686
|
+
"name": "--surface-stroke-color",
|
|
8687
|
+
"value": "transparent"
|
|
8614
8688
|
}
|
|
8615
8689
|
],
|
|
8616
8690
|
"title": [
|