@revotech-group/revotech-ui-kit 0.2.2 → 0.2.4
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/library.css +501 -12
- package/dist/rtg-ui-kit.js +3335 -2913
- package/dist/rtg-ui-kit.umd.cjs +340 -318
- package/dist/src/assets/icons/arrow-up-circle.icon.d.ts +1 -1
- package/dist/src/assets/icons/arrows.icon.d.ts +1 -1
- package/dist/src/assets/icons/carousel-arrow-left.d.ts +1 -1
- package/dist/src/assets/icons/carousel-arrow-right.d.ts +1 -1
- package/dist/src/assets/icons/chart.icon.d.ts +1 -1
- package/dist/src/assets/icons/chorven-down.icon.d.ts +1 -1
- package/dist/src/assets/icons/circle-x.icon.d.ts +1 -1
- package/dist/src/assets/icons/circle.icon.d.ts +1 -1
- package/dist/src/assets/icons/close.icon.d.ts +1 -1
- package/dist/src/assets/icons/decrease.icon.d.ts +1 -1
- package/dist/src/assets/icons/dot.icon.d.ts +1 -1
- package/dist/src/assets/icons/eye-off.d.ts +1 -1
- package/dist/src/assets/icons/eye-on.d.ts +1 -1
- package/dist/src/assets/icons/help-circle.icon.d.ts +1 -1
- package/dist/src/assets/icons/plus.icon.d.ts +1 -1
- package/dist/src/assets/icons/radio-group.icon.d.ts +1 -1
- package/dist/src/assets/icons/radio.icon.d.ts +1 -1
- package/dist/src/assets/icons/tick.icon.d.ts +1 -1
- package/dist/src/components/ui/accordion/accordion-content.d.ts +1 -1
- package/dist/src/components/ui/accordion/accordion-item.d.ts +1 -1
- package/dist/src/components/ui/accordion/accordion-trigger.d.ts +1 -1
- package/dist/src/components/ui/accordion/accordion.d.ts +1 -1
- package/dist/src/components/ui/alert/_alert-action.d.ts +1 -1
- package/dist/src/components/ui/alert/_alert-description.d.ts +1 -1
- package/dist/src/components/ui/alert/_alert-title.d.ts +1 -1
- package/dist/src/components/ui/alert/_alert.d.ts +1 -1
- package/dist/src/components/ui/aspect-ratio/aspect-ratio.d.ts +1 -1
- package/dist/src/components/ui/avatar/_avatar-badge.d.ts +1 -1
- package/dist/src/components/ui/avatar/_avatar-fallback.d.ts +1 -1
- package/dist/src/components/ui/avatar/_avatar-group-count.d.ts +1 -1
- package/dist/src/components/ui/avatar/_avatar-group.d.ts +1 -1
- package/dist/src/components/ui/avatar/_avatar-image.d.ts +1 -1
- package/dist/src/components/ui/avatar/_avatar.d.ts +1 -1
- package/dist/src/components/ui/badge/badge.d.ts +2 -2
- package/dist/src/components/ui/badge/badge.style.d.ts +1 -1
- package/dist/src/components/ui/breadcrumb/breadcrumb-ellipsis.d.ts +1 -1
- package/dist/src/components/ui/breadcrumb/breadcrumb-item.d.ts +1 -1
- package/dist/src/components/ui/breadcrumb/breadcrumb-link.d.ts +1 -1
- package/dist/src/components/ui/breadcrumb/breadcrumb-list.d.ts +1 -1
- package/dist/src/components/ui/breadcrumb/breadcrumb-separator.d.ts +1 -1
- package/dist/src/components/ui/breadcrumb/breadcrumb-text.d.ts +1 -1
- package/dist/src/components/ui/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist/src/components/ui/button/_button.d.ts +1 -1
- package/dist/src/components/ui/button/button.style.d.ts +1 -1
- package/dist/src/components/ui/calendar/calendar.d.ts +1 -1
- package/dist/src/components/ui/card/_card-action.d.ts +1 -1
- package/dist/src/components/ui/card/_card-content.d.ts +1 -1
- package/dist/src/components/ui/card/_card-description.d.ts +1 -1
- package/dist/src/components/ui/card/_card-footer.d.ts +1 -1
- package/dist/src/components/ui/card/_card-header.d.ts +1 -1
- package/dist/src/components/ui/card/_card-title.d.ts +1 -1
- package/dist/src/components/ui/card/_card.d.ts +1 -1
- package/dist/src/components/ui/carousel/carousel.d.ts +1 -1
- package/dist/src/components/ui/checkbox/_checkbox.d.ts +1 -1
- package/dist/src/components/ui/checkbox/checkbox.stories.d.ts +1 -0
- package/dist/src/components/ui/collapsible/collapsible-content.d.ts +1 -1
- package/dist/src/components/ui/collapsible/collapsible-trigger.d.ts +1 -1
- package/dist/src/components/ui/collapsible/collapsible.d.ts +1 -1
- package/dist/src/components/ui/combobox/combo-box-empty.d.ts +1 -1
- package/dist/src/components/ui/combobox/combo-box-group.d.ts +1 -1
- package/dist/src/components/ui/combobox/combo-box-input.d.ts +1 -1
- package/dist/src/components/ui/combobox/combo-box-item.d.ts +1 -1
- package/dist/src/components/ui/combobox/combo-box-trigger.d.ts +1 -1
- package/dist/src/components/ui/combobox/combo-box-value.d.ts +1 -1
- package/dist/src/components/ui/combobox/combo-box.d.ts +1 -1
- package/dist/src/components/ui/command/command-empty.atom.d.ts +1 -1
- package/dist/src/components/ui/command/command-group.atom.d.ts +1 -1
- package/dist/src/components/ui/command/command-input.atom.d.ts +1 -1
- package/dist/src/components/ui/command/command-item.atom.d.ts +1 -1
- package/dist/src/components/ui/command/command-list.atom.d.ts +1 -1
- package/dist/src/components/ui/command/command-separator.atom.d.ts +1 -1
- package/dist/src/components/ui/command/command.d.ts +1 -1
- package/dist/src/components/ui/context-menu/context-menu-checkbox-Item.d.ts +1 -1
- package/dist/src/components/ui/context-menu/context-menu-content.d.ts +1 -1
- package/dist/src/components/ui/context-menu/context-menu-group.d.ts +1 -1
- package/dist/src/components/ui/context-menu/context-menu-item.d.ts +1 -1
- package/dist/src/components/ui/context-menu/context-menu-radio-item.d.ts +1 -1
- package/dist/src/components/ui/context-menu/context-menu-seperator.d.ts +1 -1
- package/dist/src/components/ui/context-menu/context-menu-shortcut.d.ts +1 -1
- package/dist/src/components/ui/context-menu/context-menu-trigger.d.ts +1 -1
- package/dist/src/components/ui/context-menu/context-menu.d.ts +1 -1
- package/dist/src/components/ui/data-table/data-table.d.ts +1 -1
- package/dist/src/components/ui/date-picker/date-picker.d.ts +1 -1
- package/dist/src/components/ui/dialog/dialog-close.d.ts +1 -1
- package/dist/src/components/ui/dialog/dialog-content.d.ts +1 -1
- package/dist/src/components/ui/dialog/dialog-footer.d.ts +1 -1
- package/dist/src/components/ui/dialog/dialog-header.d.ts +1 -1
- package/dist/src/components/ui/dialog/dialog-overly.d.ts +1 -1
- package/dist/src/components/ui/dialog/dialog-trigger.d.ts +1 -1
- package/dist/src/components/ui/dialog/dialog.d.ts +1 -1
- package/dist/src/components/ui/drawer/drawer-close.d.ts +1 -1
- package/dist/src/components/ui/drawer/drawer-content.d.ts +1 -1
- package/dist/src/components/ui/drawer/drawer-description.d.ts +1 -1
- package/dist/src/components/ui/drawer/drawer-footer.d.ts +1 -1
- package/dist/src/components/ui/drawer/drawer-header.d.ts +1 -1
- package/dist/src/components/ui/drawer/drawer-overlay.d.ts +1 -1
- package/dist/src/components/ui/drawer/drawer-title.d.ts +1 -1
- package/dist/src/components/ui/drawer/drawer-trigger.d.ts +1 -1
- package/dist/src/components/ui/drawer/drawer.d.ts +1 -1
- package/dist/src/components/ui/dropdown-menu/dropdown-menu-checkbox-Item.d.ts +1 -1
- package/dist/src/components/ui/dropdown-menu/dropdown-menu-content.d.ts +1 -1
- package/dist/src/components/ui/dropdown-menu/dropdown-menu-group.d.ts +1 -1
- package/dist/src/components/ui/dropdown-menu/dropdown-menu-item.d.ts +1 -1
- package/dist/src/components/ui/dropdown-menu/dropdown-menu-radio-item.d.ts +1 -1
- package/dist/src/components/ui/dropdown-menu/dropdown-menu-seperator.d.ts +1 -1
- package/dist/src/components/ui/dropdown-menu/dropdown-menu-shortcut.d.ts +1 -1
- package/dist/src/components/ui/dropdown-menu/dropdown-menu-trigger.d.ts +1 -1
- package/dist/src/components/ui/dropdown-menu/dropdown-menu.d.ts +1 -1
- package/dist/src/components/ui/field/_field-content.d.ts +24 -0
- package/dist/src/components/ui/field/_field-description.d.ts +24 -0
- package/dist/src/components/ui/field/_field-error.d.ts +24 -0
- package/dist/src/components/ui/field/_field-group.d.ts +29 -0
- package/dist/src/components/ui/field/_field-label.d.ts +28 -0
- package/dist/src/components/ui/field/_field-legend.d.ts +31 -0
- package/dist/src/components/ui/field/_field-separator.d.ts +39 -0
- package/dist/src/components/ui/field/_field-set.d.ts +23 -0
- package/dist/src/components/ui/field/_field-title.d.ts +23 -0
- package/dist/src/components/ui/field/_field.d.ts +37 -0
- package/dist/src/components/ui/field/field.d.ts +30 -0
- package/dist/src/components/ui/field/field.defs.d.ts +24 -0
- package/dist/src/components/ui/field/field.stories.d.ts +17 -0
- package/dist/src/components/ui/form/rtg-form-controller.d.ts +1 -1
- package/dist/src/components/ui/form/rtg-form-description.d.ts +1 -1
- package/dist/src/components/ui/form/rtg-form-field.d.ts +1 -1
- package/dist/src/components/ui/form/rtg-form-item.d.ts +1 -1
- package/dist/src/components/ui/form/rtg-form-label.d.ts +1 -1
- package/dist/src/components/ui/form/rtg-form-message.d.ts +1 -1
- package/dist/src/components/ui/form/rtg-form.d.ts +1 -1
- package/dist/src/components/ui/hoverCard/hover-card-content.d.ts +1 -1
- package/dist/src/components/ui/hoverCard/hover-card-trigger.d.ts +1 -1
- package/dist/src/components/ui/hoverCard/hover-card.d.ts +1 -1
- package/dist/src/components/ui/index.d.ts +1 -0
- package/dist/src/components/ui/input/_input.d.ts +1 -1
- package/dist/src/components/ui/input-otp/_input-otp-group.d.ts +1 -1
- package/dist/src/components/ui/input-otp/_input-otp-separator.d.ts +1 -1
- package/dist/src/components/ui/input-otp/_input-otp-slot.d.ts +1 -1
- package/dist/src/components/ui/input-otp/_input-otp.d.ts +1 -1
- package/dist/src/components/ui/label/_label.d.ts +1 -1
- package/dist/src/components/ui/menubar/menubar-checkbox.item.d.ts +1 -1
- package/dist/src/components/ui/menubar/menubar-content.d.ts +1 -1
- package/dist/src/components/ui/menubar/menubar-group.d.ts +1 -1
- package/dist/src/components/ui/menubar/menubar-item.d.ts +1 -1
- package/dist/src/components/ui/menubar/menubar-menu.d.ts +1 -1
- package/dist/src/components/ui/menubar/menubar-radio-item.d.ts +1 -1
- package/dist/src/components/ui/menubar/menubar-separator.d.ts +1 -1
- package/dist/src/components/ui/menubar/menubar-shortcut.d.ts +1 -1
- package/dist/src/components/ui/menubar/menubar-trigger.d.ts +1 -1
- package/dist/src/components/ui/menubar/menubar.d.ts +1 -1
- package/dist/src/components/ui/navigation-menu/navigation-menu-content.d.ts +1 -1
- package/dist/src/components/ui/navigation-menu/navigation-menu-item.d.ts +1 -1
- package/dist/src/components/ui/navigation-menu/navigation-menu-link.d.ts +1 -1
- package/dist/src/components/ui/navigation-menu/navigation-menu-list.d.ts +1 -1
- package/dist/src/components/ui/navigation-menu/navigation-menu-trigger.d.ts +1 -1
- package/dist/src/components/ui/navigation-menu/navigation-menu.d.ts +1 -1
- package/dist/src/components/ui/pagination/pagination-content.d.ts +1 -1
- package/dist/src/components/ui/pagination/pagination-ellipsis.d.ts +1 -1
- package/dist/src/components/ui/pagination/pagination-item.d.ts +1 -1
- package/dist/src/components/ui/pagination/pagination-link.d.ts +1 -1
- package/dist/src/components/ui/pagination/pagination-next.d.ts +1 -1
- package/dist/src/components/ui/pagination/pagination-previous.d.ts +1 -1
- package/dist/src/components/ui/pagination/pagination.d.ts +1 -1
- package/dist/src/components/ui/pagination/pagination.styles.d.ts +1 -1
- package/dist/src/components/ui/popover/popover-content.d.ts +1 -1
- package/dist/src/components/ui/popover/popover-trigger.d.ts +1 -1
- package/dist/src/components/ui/popover/popover.d.ts +1 -1
- package/dist/src/components/ui/progress/progress.d.ts +1 -1
- package/dist/src/components/ui/radio-group/radio-group-item.d.ts +1 -1
- package/dist/src/components/ui/radio-group/radio-group.d.ts +1 -1
- package/dist/src/components/ui/sample-demo/sample-demo.d.ts +2 -2
- package/dist/src/components/ui/sample-demo/sample.style.d.ts +1 -1
- package/dist/src/components/ui/scroll-area/scroll-area.d.ts +1 -1
- package/dist/src/components/ui/select/select-group.d.ts +1 -1
- package/dist/src/components/ui/select/select-item.d.ts +1 -1
- package/dist/src/components/ui/select/select-label.d.ts +1 -1
- package/dist/src/components/ui/select/select-list.d.ts +1 -1
- package/dist/src/components/ui/select/select-seperator.d.ts +1 -1
- package/dist/src/components/ui/select/select-trigger.d.ts +1 -1
- package/dist/src/components/ui/select/select-value.d.ts +1 -1
- package/dist/src/components/ui/select/select.d.ts +1 -1
- package/dist/src/components/ui/separator/_separator.d.ts +1 -1
- package/dist/src/components/ui/skeleton/skeleton.d.ts +1 -1
- package/dist/src/components/ui/switch/switch.d.ts +1 -1
- package/dist/src/components/ui/table/table.d.ts +1 -1
- package/dist/src/components/ui/tabs/_tabs-content.d.ts +1 -1
- package/dist/src/components/ui/tabs/_tabs-list.d.ts +1 -1
- package/dist/src/components/ui/tabs/_tabs-trigger.d.ts +1 -1
- package/dist/src/components/ui/tabs/_tabs.d.ts +1 -1
- package/dist/src/components/ui/textarea/textarea.d.ts +1 -1
- package/dist/src/components/ui/toast/toast-action.d.ts +1 -1
- package/dist/src/components/ui/toast/toast-description.d.ts +1 -1
- package/dist/src/components/ui/toast/toast-title.d.ts +1 -1
- package/dist/src/components/ui/toast/toast-trigger.d.ts +1 -1
- package/dist/src/components/ui/toast/toast-view-port.d.ts +1 -1
- package/dist/src/components/ui/toast/toast.d.ts +1 -1
- package/dist/src/components/ui/toggle/toggle.d.ts +2 -2
- package/dist/src/components/ui/toggle/toggle.style.d.ts +1 -1
- package/dist/src/components/ui/toggle-group/toggle-group-item.d.ts +2 -2
- package/dist/src/components/ui/toggle-group/toggle-group.d.ts +1 -1
- package/dist/src/components/ui/toggle-group/toggle-group.style.d.ts +1 -1
- package/dist/src/components/widgets/light-sample-demo/light-sample.demo.d.ts +1 -3
- package/dist/src/helpers/shadow-wrapper.d.ts +1 -1
- package/dist/src/wc-ui-app.d.ts +1 -1
- package/package.json +26 -39
package/dist/library.css
CHANGED
|
@@ -380,6 +380,7 @@
|
|
|
380
380
|
|
|
381
381
|
/* * NEGATIVE * */
|
|
382
382
|
--sb-ref-space-neg-1: calc(var(--sb-ref-space) * -1);
|
|
383
|
+
--sb-ref-space-neg-1-5: calc(var(--sb-ref-space) * -1.5);
|
|
383
384
|
--sb-ref-space-neg-2: calc(var(--sb-ref-space) * -2);
|
|
384
385
|
--sb-ref-space-neg-3: calc(var(--sb-ref-space) * -3);
|
|
385
386
|
|
|
@@ -746,6 +747,8 @@
|
|
|
746
747
|
--sb-sem-color-border-invalid: var(--sb-sem-color-role-destructive);
|
|
747
748
|
--sb-sem-color-border-invalid-secondary: var(--sb-sem-color-role-destructive);
|
|
748
749
|
|
|
750
|
+
--sb-sem-color-border-checked: var(--sb-sem-color-role-brand) / var(--sb-ref-opacity-30);
|
|
751
|
+
|
|
749
752
|
--sb-sem-color-border-secondary: var(--sb-ref-color-base-200);
|
|
750
753
|
|
|
751
754
|
--sb-sem-color-border-tertiary: var(--sb-ref-color-transparent);
|
|
@@ -1067,6 +1070,8 @@
|
|
|
1067
1070
|
--sb-sem-color-border-invalid: var(--sb-sem-color-role-destructive);
|
|
1068
1071
|
--sb-sem-color-border-invalid-secondary: var(--sb-sem-color-role-destructive) / var(--sb-ref-opacity-50);
|
|
1069
1072
|
|
|
1073
|
+
--sb-sem-color-border-checked: var(--sb-sem-color-role-brand) / var(--sb-ref-opacity-20);
|
|
1074
|
+
|
|
1070
1075
|
--sb-sem-color-border-secondary: var(--sb-ref-color-white) /
|
|
1071
1076
|
var(--sb-ref-opacity-15);
|
|
1072
1077
|
|
|
@@ -1217,8 +1222,17 @@
|
|
|
1217
1222
|
* --------------------------------------------------
|
|
1218
1223
|
*/
|
|
1219
1224
|
:root {
|
|
1225
|
+
--sb-sem-font-form-heading-size: var(--sb-ref-font-size-base);
|
|
1226
|
+
--sb-sem-font-form-heading-line-height: var(--sb-ref-font-line-height-of-base);
|
|
1227
|
+
--sb-sem-font-form-heading-weight: var(--sb-ref-font-weight-medium);
|
|
1228
|
+
|
|
1229
|
+
--sb-sem-font-form-content-line-height: var(--sb-ref-font-line-height-short);
|
|
1230
|
+
|
|
1231
|
+
--sb-sem-font-form-description-line-height: var(--sb-ref-font-line-height-normal);
|
|
1232
|
+
|
|
1220
1233
|
--sb-sem-font-form-label-size: var(--sb-ref-font-size-sm);
|
|
1221
1234
|
--sb-sem-font-form-label-line-height: var(--sb-ref-font-line-height-shortest);
|
|
1235
|
+
--sb-sem-font-form-label-line-height-alt: var(--sb-ref-font-line-height-short);
|
|
1222
1236
|
--sb-sem-font-form-label-weight: var(--sb-ref-font-weight-medium);
|
|
1223
1237
|
|
|
1224
1238
|
--sb-sem-font-form-size: var(--sb-ref-font-size-sm);
|
|
@@ -1685,6 +1699,7 @@
|
|
|
1685
1699
|
/* Used for dropdown menu separator and select separator */
|
|
1686
1700
|
--sb-sem-space-divider-mx: var(--sb-ref-space-neg-1);
|
|
1687
1701
|
--sb-sem-space-divider-my: var(--sb-ref-space-1);
|
|
1702
|
+
--sb-sem-space-divider-h: var(--sb-ref-space-5);
|
|
1688
1703
|
}
|
|
1689
1704
|
/*
|
|
1690
1705
|
* --------------------------------------------------
|
|
@@ -1711,12 +1726,14 @@
|
|
|
1711
1726
|
}
|
|
1712
1727
|
/*
|
|
1713
1728
|
* --------------------------------------------------
|
|
1714
|
-
* FORM: label, input otp, command, radio group, select, input, textarea
|
|
1729
|
+
* FORM: label, input otp, command, radio group, select, input, textarea, field
|
|
1715
1730
|
* --------------------------------------------------
|
|
1716
1731
|
*/
|
|
1717
1732
|
:root {
|
|
1718
1733
|
--sb-sem-space-form-gap: var(--sb-ref-space-3);
|
|
1719
1734
|
--sb-sem-space-form-gap-sm: var(--sb-ref-space-2);
|
|
1735
|
+
--sb-sem-space-form-gap-lg: var(--sb-ref-space-4);
|
|
1736
|
+
--sb-sem-space-form-gap-xl: var(--sb-ref-space-5);
|
|
1720
1737
|
|
|
1721
1738
|
--sb-sem-space-form-p: var(--sb-ref-space-3);
|
|
1722
1739
|
--sb-sem-space-form-p-sm: var(--sb-ref-space-2);
|
|
@@ -3420,6 +3437,162 @@
|
|
|
3420
3437
|
);
|
|
3421
3438
|
--sb-dropdown-menu-shortcut-color-text: var(--sb-sem-color-text-secondary);
|
|
3422
3439
|
}
|
|
3440
|
+
/*
|
|
3441
|
+
* -------------------------
|
|
3442
|
+
* FIELD: rtg-field-*
|
|
3443
|
+
* -------------------------
|
|
3444
|
+
*/
|
|
3445
|
+
/*
|
|
3446
|
+
* ===========================================================================
|
|
3447
|
+
* FIELD COMPONENT TOKENS
|
|
3448
|
+
* rtg-field-*
|
|
3449
|
+
* ===========================================================================
|
|
3450
|
+
*/
|
|
3451
|
+
/*
|
|
3452
|
+
* --------------------------------------------------
|
|
3453
|
+
* FIELD SET
|
|
3454
|
+
* --------------------------------------------------
|
|
3455
|
+
*/
|
|
3456
|
+
:root {
|
|
3457
|
+
--rtg-field-set-space-gap: var(--sb-sem-space-form-gap-lg);
|
|
3458
|
+
--rtg-field-set-space-gap-has-checkbox-group: var(--sb-sem-space-form-gap);
|
|
3459
|
+
--rtg-field-set-space-gap-has-radio-group: var(--sb-sem-space-form-gap);
|
|
3460
|
+
}
|
|
3461
|
+
/*
|
|
3462
|
+
* --------------------------------------------------
|
|
3463
|
+
* FIELD LEGEND
|
|
3464
|
+
* --------------------------------------------------
|
|
3465
|
+
*/
|
|
3466
|
+
:root {
|
|
3467
|
+
--rtg-field-legend-space-mb: var(--sb-ref-space-1-5);
|
|
3468
|
+
--rtg-field-legend-font-weight: var(--sb-sem-font-form-heading-weight);
|
|
3469
|
+
|
|
3470
|
+
/* * VARIANTS * */
|
|
3471
|
+
/* LABEL */
|
|
3472
|
+
--rtg-field-legend-label-font-size: var(--sb-sem-font-form-label-size);
|
|
3473
|
+
--rtg-field-legend-label-font-line-height: var(--sb-sem-font-form-label-line-height);
|
|
3474
|
+
|
|
3475
|
+
/* LEGEND */
|
|
3476
|
+
--rtg-field-legend-legend-font-size: var(--sb-sem-font-form-heading-size);
|
|
3477
|
+
--rtg-field-legend-legend-font-line-height: var(--sb-sem-font-form-heading-line-height);
|
|
3478
|
+
}
|
|
3479
|
+
/*
|
|
3480
|
+
* --------------------------------------------------
|
|
3481
|
+
* FIELD GROUP
|
|
3482
|
+
* --------------------------------------------------
|
|
3483
|
+
*/
|
|
3484
|
+
:root {
|
|
3485
|
+
--rtg-field-group-space-gap: var(--sb-sem-space-form-gap-xl);
|
|
3486
|
+
|
|
3487
|
+
--rtg-field-group-space-gap-is-checkbox-group: var(--sb-sem-space-form-gap);
|
|
3488
|
+
--rtg-field-group-space-gap-is-nested: var(--sb-sem-space-form-gap-lg);
|
|
3489
|
+
}
|
|
3490
|
+
/*
|
|
3491
|
+
* --------------------------------------------------
|
|
3492
|
+
* FIELD
|
|
3493
|
+
* --------------------------------------------------
|
|
3494
|
+
*/
|
|
3495
|
+
:root {
|
|
3496
|
+
--rtg-field-space-gap: var(--sb-sem-space-form-gap-sm);
|
|
3497
|
+
|
|
3498
|
+
--rtg-field-color-text-invalid: hsl(var(--sb-sem-color-text-destructive));
|
|
3499
|
+
|
|
3500
|
+
--rtg-field-space-p-in-label: var(--sb-ref-space-2-5);
|
|
3501
|
+
|
|
3502
|
+
/* * CHECKBOX CHILD * */
|
|
3503
|
+
--rtg-field-checkbox-space-mt: 1px;
|
|
3504
|
+
|
|
3505
|
+
/* * RADIO CHILD * */
|
|
3506
|
+
--rtg-field-radio-space-mt: 1px;
|
|
3507
|
+
}
|
|
3508
|
+
/*
|
|
3509
|
+
* --------------------------------------------------
|
|
3510
|
+
* FIELD CONTENT
|
|
3511
|
+
* --------------------------------------------------
|
|
3512
|
+
*/
|
|
3513
|
+
:root {
|
|
3514
|
+
--rtg-field-content-space-gap: var(--sb-ref-space-0-5);
|
|
3515
|
+
--rtg-field-content-font-line-height: var(--sb-sem-font-form-content-line-height);
|
|
3516
|
+
}
|
|
3517
|
+
/*
|
|
3518
|
+
* --------------------------------------------------
|
|
3519
|
+
* FIELD LABEL
|
|
3520
|
+
* --------------------------------------------------
|
|
3521
|
+
*/
|
|
3522
|
+
:root {
|
|
3523
|
+
--rtg-field-label-space-gap: var(--sb-sem-space-form-gap-sm);
|
|
3524
|
+
--rtg-field-label-font-line-height: var(--sb-sem-font-form-label-line-height-alt);
|
|
3525
|
+
|
|
3526
|
+
--rtg-field-label-width-border-has-field: var(--sb-sem-width-border);
|
|
3527
|
+
--rtg-field-label-color-border-has-field: hsl(var(--sb-sem-color-border));
|
|
3528
|
+
--rtg-field-label-radius-has-field: var(--sb-sem-radius-form-lg);
|
|
3529
|
+
|
|
3530
|
+
--rtg-field-label-color-bg-has-checked: hsl(var(--sb-sem-color-bg-surface-brand));
|
|
3531
|
+
--rtg-field-label-color-border-has-checked: hsl(var(--sb-sem-color-border-checked));
|
|
3532
|
+
|
|
3533
|
+
--rtg-field-label-opacity-disabled: var(--sb-sem-opacity-disabled);
|
|
3534
|
+
}
|
|
3535
|
+
/*
|
|
3536
|
+
* --------------------------------------------------
|
|
3537
|
+
* FIELD TITLE
|
|
3538
|
+
* --------------------------------------------------
|
|
3539
|
+
*/
|
|
3540
|
+
:root {
|
|
3541
|
+
--rtg-field-title-space-gap: var(--sb-sem-space-form-gap-sm);
|
|
3542
|
+
|
|
3543
|
+
--rtg-field-title-font-size: var(--sb-sem-font-form-label-size);
|
|
3544
|
+
--rtg-field-title-font-line-height: var(--sb-sem-font-form-label-line-height-alt);
|
|
3545
|
+
--rtg-field-title-font-weight: var(--sb-sem-font-form-label-weight);
|
|
3546
|
+
|
|
3547
|
+
--rtg-field-title-opacity-disabled: var(--sb-sem-opacity-disabled);
|
|
3548
|
+
}
|
|
3549
|
+
/*
|
|
3550
|
+
* --------------------------------------------------
|
|
3551
|
+
* FIELD DESCRIPTION
|
|
3552
|
+
* --------------------------------------------------
|
|
3553
|
+
*/
|
|
3554
|
+
:root {
|
|
3555
|
+
--rtg-field-description-font-size: var(--sb-sem-font-form-size);
|
|
3556
|
+
--rtg-field-description-font-line-height: var(--sb-sem-font-form-description-line-height);
|
|
3557
|
+
--rtg-field-description-font-weight: var(--sb-sem-font-form-weight);
|
|
3558
|
+
--rtg-field-description-color-text: hsl(var(--sb-sem-color-text-secondary));
|
|
3559
|
+
|
|
3560
|
+
--rtg-field-description-space-mt-after-legend: var(--sb-ref-space-neg-1-5);
|
|
3561
|
+
--rtg-field-description-space-mt-is-last: var(--sb-ref-space-0);
|
|
3562
|
+
--rtg-field-description-space-mt-is-2-last: var(--sb-ref-space-neg-1);
|
|
3563
|
+
|
|
3564
|
+
--rtg-field-description-link-color-text-hover: hsl(var(--sb-sem-color-text-brand));
|
|
3565
|
+
}
|
|
3566
|
+
/*
|
|
3567
|
+
* --------------------------------------------------
|
|
3568
|
+
* FIELD SEPARATOR
|
|
3569
|
+
* --------------------------------------------------
|
|
3570
|
+
*/
|
|
3571
|
+
:root {
|
|
3572
|
+
--rtg-field-separator-space-my: var(--sb-ref-space-neg-2);
|
|
3573
|
+
--rtg-field-separator-space-h: var(--sb-sem-space-divider-h);
|
|
3574
|
+
--rtg-field-separator-font-size: var(--sb-sem-font-form-size);
|
|
3575
|
+
--rtg-field-separator-font-line-height: var(--sb-sem-font-form-line-height);
|
|
3576
|
+
|
|
3577
|
+
/* * CONTENT * */
|
|
3578
|
+
--rtg-field-separator-content-space-px: var(--sb-sem-space-form-gap-sm);
|
|
3579
|
+
--rtg-field-separator-content-color-text: hsl(var(--sb-sem-color-text-secondary));
|
|
3580
|
+
--rtg-field-separator-content-color-bg: hsl(var(--sb-sem-color-bg));
|
|
3581
|
+
}
|
|
3582
|
+
/*
|
|
3583
|
+
* --------------------------------------------------
|
|
3584
|
+
* FIELD ERROR
|
|
3585
|
+
* --------------------------------------------------
|
|
3586
|
+
*/
|
|
3587
|
+
:root {
|
|
3588
|
+
--rtg-field-error-font-size: var(--sb-sem-font-form-size);
|
|
3589
|
+
--rtg-field-error-font-line-height: var(--sb-sem-font-form-line-height);
|
|
3590
|
+
--rtg-field-error-font-weight: var(--sb-sem-font-form-weight);
|
|
3591
|
+
--rtg-field-error-color-text: hsl(var(--sb-sem-color-text-destructive));
|
|
3592
|
+
|
|
3593
|
+
--rtg-field-error-content-space-gap: var(--sb-ref-space-1);
|
|
3594
|
+
--rtg-field-error-content-space-ml: var(--sb-ref-space-4);
|
|
3595
|
+
}
|
|
3423
3596
|
/*
|
|
3424
3597
|
* -------------------------
|
|
3425
3598
|
* HOVER CARD: sb-hover-card-*
|
|
@@ -5684,8 +5857,7 @@ rtg-checkbox > [data-slot="checkbox"]:disabled {
|
|
|
5684
5857
|
opacity: var(--rtg-checkbox-opacity-disabled);
|
|
5685
5858
|
cursor: not-allowed;
|
|
5686
5859
|
}
|
|
5687
|
-
|
|
5688
|
-
[data-slot="field"]:has([disabled]) rtg-checkbox > [data-slot="checkbox"] {
|
|
5860
|
+
rtg-field > [data-slot="field"][data-disabled] rtg-checkbox > [data-slot="checkbox"] {
|
|
5689
5861
|
opacity: var(--rtg-checkbox-opacity-disabled);
|
|
5690
5862
|
}
|
|
5691
5863
|
/* * AFTER (::after) * */
|
|
@@ -5725,6 +5897,315 @@ rtg-checkbox > [data-slot="checkbox-input"] {
|
|
|
5725
5897
|
transform: translateX(-100%);
|
|
5726
5898
|
pointer-events: none;
|
|
5727
5899
|
}
|
|
5900
|
+
/*
|
|
5901
|
+
* ===========================================================================
|
|
5902
|
+
* FIELD COMPONENT STYLES
|
|
5903
|
+
* ===========================================================================
|
|
5904
|
+
*/
|
|
5905
|
+
/*
|
|
5906
|
+
* --------------------------------------------------
|
|
5907
|
+
* FIELD SET
|
|
5908
|
+
* --------------------------------------------------
|
|
5909
|
+
*/
|
|
5910
|
+
rtg-field-set > [data-slot="field-set"] {
|
|
5911
|
+
display: flex;
|
|
5912
|
+
flex-direction: column;
|
|
5913
|
+
gap: var(--rtg-field-set-space-gap);
|
|
5914
|
+
}
|
|
5915
|
+
rtg-field-set > [data-slot="field-set"]:has(> rtg-field-group[data-slot="field-group"][data-type="checkbox"]) {
|
|
5916
|
+
gap: var(--rtg-field-set-space-gap-has-checkbox-group);
|
|
5917
|
+
}
|
|
5918
|
+
rtg-field-set > [data-slot="field-set"]:has(> rtg-field-group[data-slot="field-group"][data-type="radio"]) {
|
|
5919
|
+
gap: var(--rtg-field-set-space-gap-has-radio-group);
|
|
5920
|
+
}
|
|
5921
|
+
/*
|
|
5922
|
+
* --------------------------------------------------
|
|
5923
|
+
* FIELD LEGEND
|
|
5924
|
+
* --------------------------------------------------
|
|
5925
|
+
*/
|
|
5926
|
+
rtg-field-legend {
|
|
5927
|
+
margin-bottom: calc(var(--rtg-field-legend-space-mb) - var(--rtg-field-set-space-gap));
|
|
5928
|
+
}
|
|
5929
|
+
rtg-field-set > [data-slot="field-set"]:has(> rtg-field-group[data-slot="field-group"][data-type="checkbox"]) rtg-field-legend {
|
|
5930
|
+
margin-bottom: calc(var(--rtg-field-legend-space-mb) - var(--rtg-field-set-space-gap-has-checkbox-group));
|
|
5931
|
+
}
|
|
5932
|
+
rtg-field-set > [data-slot="field-set"]:has(> rtg-field-group[data-slot="field-group"][data-type="radio"]) rtg-field-legend {
|
|
5933
|
+
margin-bottom: calc(var(--rtg-field-legend-space-mb) - var(--rtg-field-set-space-gap-has-radio-group));
|
|
5934
|
+
}
|
|
5935
|
+
rtg-field-legend > [data-slot="field-legend"] {
|
|
5936
|
+
font-weight: var(--rtg-field-legend-font-weight);
|
|
5937
|
+
}
|
|
5938
|
+
/* * VARIANTS * */
|
|
5939
|
+
rtg-field-legend > [data-slot="field-legend"][data-variant="label"] {
|
|
5940
|
+
font-size: var(--rtg-field-legend-label-font-size);
|
|
5941
|
+
line-height: var(--rtg-field-legend-label-font-line-height);
|
|
5942
|
+
}
|
|
5943
|
+
rtg-field-legend > [data-slot="field-legend"][data-variant="legend"] {
|
|
5944
|
+
font-size: var(--rtg-field-legend-legend-font-size);
|
|
5945
|
+
line-height: var(--rtg-field-legend-legend-font-line-height);
|
|
5946
|
+
}
|
|
5947
|
+
/*
|
|
5948
|
+
* --------------------------------------------------
|
|
5949
|
+
* FIELD GROUP
|
|
5950
|
+
* --------------------------------------------------
|
|
5951
|
+
*/
|
|
5952
|
+
rtg-field-group {
|
|
5953
|
+
width: 100%;
|
|
5954
|
+
|
|
5955
|
+
container-name: field-group;
|
|
5956
|
+
container-type: inline-size;
|
|
5957
|
+
}
|
|
5958
|
+
rtg-field-group > [data-slot="field-group"] {
|
|
5959
|
+
display: flex;
|
|
5960
|
+
flex-direction: column;
|
|
5961
|
+
gap: var(--rtg-field-group-space-gap);
|
|
5962
|
+
width: 100%;
|
|
5963
|
+
}
|
|
5964
|
+
rtg-field-group > [data-slot="field-group"][data-type="checkbox"] {
|
|
5965
|
+
gap: var(--rtg-field-group-space-gap-is-checkbox-group);
|
|
5966
|
+
}
|
|
5967
|
+
rtg-field-group > [data-slot="field-group"] > rtg-field-group > [data-slot="field-group"] {
|
|
5968
|
+
gap: var(--rtg-field-group-space-gap-is-nested);
|
|
5969
|
+
}
|
|
5970
|
+
/*
|
|
5971
|
+
* --------------------------------------------------
|
|
5972
|
+
* FIELD
|
|
5973
|
+
* --------------------------------------------------
|
|
5974
|
+
*/
|
|
5975
|
+
rtg-field {
|
|
5976
|
+
width: 100%;
|
|
5977
|
+
}
|
|
5978
|
+
rtg-field > [data-slot="field"] {
|
|
5979
|
+
display: flex;
|
|
5980
|
+
gap: var(--rtg-field-space-gap);
|
|
5981
|
+
width: 100%;
|
|
5982
|
+
}
|
|
5983
|
+
/* INVALID */
|
|
5984
|
+
rtg-field > [data-slot="field"][data-invalid="true"] {
|
|
5985
|
+
color: var(--rtg-field-color-text-invalid);
|
|
5986
|
+
}
|
|
5987
|
+
/* * ORIENTATIONS * */
|
|
5988
|
+
/* VERTICAL */
|
|
5989
|
+
rtg-field > [data-slot="field"][data-orientation="vertical"] {
|
|
5990
|
+
flex-direction: column;
|
|
5991
|
+
}
|
|
5992
|
+
rtg-field > [data-slot="field"][data-orientation="vertical"] > * {
|
|
5993
|
+
width: 100%;
|
|
5994
|
+
}
|
|
5995
|
+
rtg-field > [data-slot="field"][data-orientation="vertical"] > .rtg-sr-only {
|
|
5996
|
+
width: auto;
|
|
5997
|
+
}
|
|
5998
|
+
/* HORIZONTAL */
|
|
5999
|
+
rtg-field > [data-slot="field"][data-orientation="horizontal"] {
|
|
6000
|
+
flex-direction: row;
|
|
6001
|
+
align-items: center;
|
|
6002
|
+
}
|
|
6003
|
+
rtg-field > [data-slot="field"][data-orientation="horizontal"] > *:has(> [data-slot="field-label"]) {
|
|
6004
|
+
flex: auto;
|
|
6005
|
+
}
|
|
6006
|
+
rtg-field > [data-slot="field"][data-orientation="horizontal"]:has(> rtg-field-content) {
|
|
6007
|
+
align-items: start;
|
|
6008
|
+
}
|
|
6009
|
+
/* Checkbox Child */
|
|
6010
|
+
rtg-field > [data-slot="field"][data-orientation="horizontal"]:has(> rtg-field-content) > *:has(> [role="checkbox"]) {
|
|
6011
|
+
margin-top: var(--rtg-field-checkbox-space-mt);
|
|
6012
|
+
}
|
|
6013
|
+
/* Radio Child */
|
|
6014
|
+
rtg-field > [data-slot="field"][data-orientation="horizontal"]:has(> rtg-field-content) > *:has(> [role="radio"]) {
|
|
6015
|
+
margin-top: var(--rtg-field-radio-space-mt);
|
|
6016
|
+
}
|
|
6017
|
+
/* RESPONSIVE */
|
|
6018
|
+
rtg-field > [data-slot="field"][data-orientation="responsive"] {
|
|
6019
|
+
flex-direction: column;
|
|
6020
|
+
}
|
|
6021
|
+
rtg-field > [data-slot="field"][data-orientation="responsive"] > * {
|
|
6022
|
+
width: 100%;
|
|
6023
|
+
}
|
|
6024
|
+
rtg-field > [data-slot="field"][data-orientation="responsive"] > .rtg-sr-only {
|
|
6025
|
+
width: auto;
|
|
6026
|
+
}
|
|
6027
|
+
@container field-group (width >= 28rem) {
|
|
6028
|
+
rtg-field > [data-slot="field"][data-orientation="responsive"] {
|
|
6029
|
+
flex-direction: row;
|
|
6030
|
+
align-items: center;
|
|
6031
|
+
}
|
|
6032
|
+
|
|
6033
|
+
rtg-field > [data-slot="field"][data-orientation="responsive"] > * {
|
|
6034
|
+
width: auto;
|
|
6035
|
+
}
|
|
6036
|
+
|
|
6037
|
+
rtg-field > [data-slot="field"][data-orientation="responsive"] > *:has(> [data-slot="field-label"]) {
|
|
6038
|
+
flex: auto;
|
|
6039
|
+
}
|
|
6040
|
+
|
|
6041
|
+
rtg-field > [data-slot="field"][data-orientation="responsive"]:has(> rtg-field-content) {
|
|
6042
|
+
align-items: start;
|
|
6043
|
+
}
|
|
6044
|
+
|
|
6045
|
+
/* Checkbox Child */
|
|
6046
|
+
rtg-field > [data-slot="field"][data-orientation="responsive"]:has(> rtg-field-content) > *:has(> [role="checkbox"]) {
|
|
6047
|
+
margin-top: var(--rtg-field-checkbox-space-mt);
|
|
6048
|
+
}
|
|
6049
|
+
|
|
6050
|
+
/* Radio Child */
|
|
6051
|
+
rtg-field > [data-slot="field"][data-orientation="responsive"]:has(> rtg-field-content) > *:has(> [role="radio"]) {
|
|
6052
|
+
margin-top: var(--rtg-field-radio-space-mt);
|
|
6053
|
+
}
|
|
6054
|
+
}
|
|
6055
|
+
/*
|
|
6056
|
+
* --------------------------------------------------
|
|
6057
|
+
* FIELD CONTENT
|
|
6058
|
+
* --------------------------------------------------
|
|
6059
|
+
*/
|
|
6060
|
+
rtg-field-content {
|
|
6061
|
+
flex: 1;
|
|
6062
|
+
}
|
|
6063
|
+
rtg-field-content > [data-slot="field-content"] {
|
|
6064
|
+
display: flex;
|
|
6065
|
+
flex-direction: column;
|
|
6066
|
+
gap: var(--rtg-field-content-space-gap);
|
|
6067
|
+
|
|
6068
|
+
line-height: var(--rtg-field-content-font-line-height);
|
|
6069
|
+
}
|
|
6070
|
+
/*
|
|
6071
|
+
* --------------------------------------------------
|
|
6072
|
+
* FIELD LABEL
|
|
6073
|
+
* --------------------------------------------------
|
|
6074
|
+
*/
|
|
6075
|
+
rtg-field-label > [data-slot="field-label"] > [data-slot="label"] {
|
|
6076
|
+
display: flex;
|
|
6077
|
+
gap: var(--rtg-field-label-space-gap);
|
|
6078
|
+
width: -moz-fit-content;
|
|
6079
|
+
width: fit-content;
|
|
6080
|
+
line-height: var(--rtg-field-label-font-line-height);
|
|
6081
|
+
}
|
|
6082
|
+
rtg-field-label > [data-slot="field-label"] > [data-slot="label"]:has(> rtg-field) {
|
|
6083
|
+
flex-direction: column;
|
|
6084
|
+
width: 100%;
|
|
6085
|
+
border: var(--rtg-field-label-width-border-has-field) solid var(--rtg-field-label-color-border-has-field);
|
|
6086
|
+
border-radius: var(--rtg-field-label-radius-has-field);
|
|
6087
|
+
}
|
|
6088
|
+
rtg-field-label > [data-slot="field-label"] > [data-slot="label"]:has([data-state="checked"]) {
|
|
6089
|
+
background-color: var(--rtg-field-label-color-bg-has-checked);
|
|
6090
|
+
border-color: var(--rtg-field-label-color-border-has-checked);
|
|
6091
|
+
}
|
|
6092
|
+
rtg-field > [data-slot="field"][data-disabled="true"] rtg-field-label > [data-slot="field-label"] > [data-slot="label"] {
|
|
6093
|
+
opacity: var(--rtg-field-label-opacity-disabled);
|
|
6094
|
+
}
|
|
6095
|
+
/* * FIELD CHILD * */
|
|
6096
|
+
rtg-field-label > [data-slot="field-label"] > [data-slot="label"] > rtg-field > [data-slot="field"] {
|
|
6097
|
+
padding: var(--rtg-field-space-p-in-label);
|
|
6098
|
+
}
|
|
6099
|
+
/*
|
|
6100
|
+
* --------------------------------------------------
|
|
6101
|
+
* FIELD TITLE
|
|
6102
|
+
* --------------------------------------------------
|
|
6103
|
+
*/
|
|
6104
|
+
rtg-field-title > [data-slot="field-label"] {
|
|
6105
|
+
display: flex;
|
|
6106
|
+
align-items: center;
|
|
6107
|
+
gap: var(--rtg-field-title-space-gap);
|
|
6108
|
+
|
|
6109
|
+
width: -moz-fit-content;
|
|
6110
|
+
|
|
6111
|
+
width: fit-content;
|
|
6112
|
+
|
|
6113
|
+
font-size: var(--rtg-field-title-font-size);
|
|
6114
|
+
line-height: var(--rtg-field-title-font-line-height);
|
|
6115
|
+
font-weight: var(--rtg-field-title-font-weight);
|
|
6116
|
+
}
|
|
6117
|
+
rtg-field > [data-slot="field"][data-disabled="true"] rtg-field-title > [data-slot="field-label"] {
|
|
6118
|
+
opacity: var(--rtg-field-title-opacity-disabled);
|
|
6119
|
+
}
|
|
6120
|
+
/*
|
|
6121
|
+
* --------------------------------------------------
|
|
6122
|
+
* FIELD DESCRIPTION
|
|
6123
|
+
* --------------------------------------------------
|
|
6124
|
+
*/
|
|
6125
|
+
rtg-field-description > [data-slot="field-description"] {
|
|
6126
|
+
font-size: var(--rtg-field-description-font-size);
|
|
6127
|
+
line-height: var(--rtg-field-description-font-line-height);
|
|
6128
|
+
font-weight: var(--rtg-field-description-font-weight);
|
|
6129
|
+
color: var(--rtg-field-description-color-text);
|
|
6130
|
+
text-align: left;
|
|
6131
|
+
}
|
|
6132
|
+
rtg-field-legend:has(> [data-slot="field-legend"][data-variant="legend"]) + rtg-field-description {
|
|
6133
|
+
margin-top: var(--rtg-field-description-space-mt-after-legend);
|
|
6134
|
+
margin-top: calc(var(--rtg-field-description-space-mt-after-legend));
|
|
6135
|
+
}
|
|
6136
|
+
rtg-field-description:nth-last-child(2) {
|
|
6137
|
+
margin-top: var(--rtg-field-description-space-mt-is-2-last);
|
|
6138
|
+
}
|
|
6139
|
+
rtg-field-description > [data-slot="field-description"] > a {
|
|
6140
|
+
text-decoration-line: underline;
|
|
6141
|
+
text-underline-offset: 4px;
|
|
6142
|
+
}
|
|
6143
|
+
rtg-field-description > [data-slot="field-description"] > a:hover {
|
|
6144
|
+
color: var(--rtg-field-description-link-color-text-hover);
|
|
6145
|
+
}
|
|
6146
|
+
rtg-field > [data-slot="field"][data-orientation="horizontal"] > rtg-field-description > [data-slot="field-description"] {
|
|
6147
|
+
text-wrap: balance;
|
|
6148
|
+
}
|
|
6149
|
+
/*
|
|
6150
|
+
* --------------------------------------------------
|
|
6151
|
+
* FIELD SEPARATOR
|
|
6152
|
+
* --------------------------------------------------
|
|
6153
|
+
*/
|
|
6154
|
+
rtg-field-separator > [data-slot="field-separator"] {
|
|
6155
|
+
position: relative;
|
|
6156
|
+
|
|
6157
|
+
margin-top: var(--rtg-field-separator-space-my);
|
|
6158
|
+
margin-bottom: var(--rtg-field-separator-space-my);
|
|
6159
|
+
|
|
6160
|
+
height: var(--rtg-field-separator-space-h);
|
|
6161
|
+
|
|
6162
|
+
font-size: var(--rtg-field-separator-font-size);
|
|
6163
|
+
line-height: var(--rtg-field-separator-font-line-height);
|
|
6164
|
+
}
|
|
6165
|
+
/* * SEPARATOR * */
|
|
6166
|
+
rtg-field-separator > [data-slot="field-separator"] > rtg-separator {
|
|
6167
|
+
position: absolute;
|
|
6168
|
+
inset: 0;
|
|
6169
|
+
top: calc(0.5 * 100%);
|
|
6170
|
+
}
|
|
6171
|
+
/* * CONTENT * */
|
|
6172
|
+
rtg-field-separator > [data-slot="field-separator"] > [data-slot="field-separator-content"] {
|
|
6173
|
+
display: block;
|
|
6174
|
+
position: relative;
|
|
6175
|
+
|
|
6176
|
+
padding-left: var(--rtg-field-separator-content-space-px);
|
|
6177
|
+
padding-right: var(--rtg-field-separator-content-space-px);
|
|
6178
|
+
margin-left: auto;
|
|
6179
|
+
margin-right: auto;
|
|
6180
|
+
|
|
6181
|
+
width: -moz-fit-content;
|
|
6182
|
+
|
|
6183
|
+
width: fit-content;
|
|
6184
|
+
|
|
6185
|
+
color: var(--rtg-field-separator-content-color-text);
|
|
6186
|
+
|
|
6187
|
+
background-color: var(--rtg-field-separator-content-color-bg);
|
|
6188
|
+
}
|
|
6189
|
+
/*
|
|
6190
|
+
* --------------------------------------------------
|
|
6191
|
+
* FIELD ERROR
|
|
6192
|
+
* --------------------------------------------------
|
|
6193
|
+
*/
|
|
6194
|
+
rtg-field-error > [data-slot="field-error"] {
|
|
6195
|
+
font-size: var(--rtg-field-error-font-size);
|
|
6196
|
+
line-height: var(--rtg-field-error-font-line-height);
|
|
6197
|
+
font-weight: var(--rtg-field-error-font-weight);
|
|
6198
|
+
color: var(--rtg-field-error-color-text);
|
|
6199
|
+
}
|
|
6200
|
+
rtg-field-error > [data-slot="field-error"] > [data-slot="field-error-content"] {
|
|
6201
|
+
display: flex;
|
|
6202
|
+
flex-direction: column;
|
|
6203
|
+
gap: var(--rtg-field-error-content-space-gap);
|
|
6204
|
+
|
|
6205
|
+
margin-left: var(--rtg-field-error-content-space-ml);
|
|
6206
|
+
|
|
6207
|
+
list-style-type: disc;
|
|
6208
|
+
}
|
|
5728
6209
|
/*
|
|
5729
6210
|
* ===========================================================================
|
|
5730
6211
|
* INPUT COMPONENT STYLES
|
|
@@ -6011,16 +6492,15 @@ rtg-label > [data-slot="label"] {
|
|
|
6011
6492
|
line-height: var(--rtg-label-font-line-height);
|
|
6012
6493
|
font-weight: var(--rtg-label-font-weight);
|
|
6013
6494
|
}
|
|
6014
|
-
/*
|
|
6015
|
-
|
|
6495
|
+
/* DISABLED */
|
|
6496
|
+
*:has([disabled]) > rtg-label > [data-slot="label"] {
|
|
6016
6497
|
opacity: var(--rtg-label-opacity-disabled);
|
|
6017
6498
|
pointer-events: none;
|
|
6018
6499
|
}
|
|
6019
|
-
|
|
6020
|
-
/* :has(> [disabled]) ~ rtg-label > [data-slot="label"] {
|
|
6500
|
+
*:has(> [disabled]) + rtg-label > [data-slot="label"] {
|
|
6021
6501
|
opacity: var(--rtg-label-opacity-disabled);
|
|
6022
6502
|
cursor: not-allowed;
|
|
6023
|
-
}
|
|
6503
|
+
}
|
|
6024
6504
|
/*
|
|
6025
6505
|
* ===========================================================================
|
|
6026
6506
|
* SEPARATOR COMPONENT STYLES
|
|
@@ -6348,7 +6828,7 @@ rtg-tabs-content > [data-slot="tabs-content"][data-state="active"] {
|
|
|
6348
6828
|
--tw-contain-paint: ;
|
|
6349
6829
|
--tw-contain-style: ;
|
|
6350
6830
|
}
|
|
6351
|
-
/* ! tailwindcss v3.4.
|
|
6831
|
+
/* ! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com */
|
|
6352
6832
|
/*
|
|
6353
6833
|
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
|
6354
6834
|
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
|
|
@@ -7295,6 +7775,9 @@ body {
|
|
|
7295
7775
|
.rtg-w-56 {
|
|
7296
7776
|
width: 14rem;
|
|
7297
7777
|
}
|
|
7778
|
+
.rtg-w-72 {
|
|
7779
|
+
width: 18rem;
|
|
7780
|
+
}
|
|
7298
7781
|
.rtg-w-8 {
|
|
7299
7782
|
width: 2rem;
|
|
7300
7783
|
}
|
|
@@ -7453,6 +7936,9 @@ body {
|
|
|
7453
7936
|
.rtg-max-w-dialog-content-space-max-w-sm {
|
|
7454
7937
|
max-width: var(--sb-dialog-content-space-max-w-sm);
|
|
7455
7938
|
}
|
|
7939
|
+
.rtg-max-w-lg {
|
|
7940
|
+
max-width: 32rem;
|
|
7941
|
+
}
|
|
7456
7942
|
.rtg-max-w-md {
|
|
7457
7943
|
max-width: 28rem;
|
|
7458
7944
|
}
|
|
@@ -7580,6 +8066,9 @@ body {
|
|
|
7580
8066
|
-moz-user-select: none;
|
|
7581
8067
|
user-select: none;
|
|
7582
8068
|
}
|
|
8069
|
+
.rtg-resize-none {
|
|
8070
|
+
resize: none;
|
|
8071
|
+
}
|
|
7583
8072
|
.rtg-scroll-my-1 {
|
|
7584
8073
|
scroll-margin-top: 0.25rem;
|
|
7585
8074
|
scroll-margin-bottom: 0.25rem;
|
|
@@ -9176,6 +9665,9 @@ body {
|
|
|
9176
9665
|
.rtg-font-menubar-trigger-font-weight {
|
|
9177
9666
|
font-weight: var(--sb-menubar-trigger-font-weight);
|
|
9178
9667
|
}
|
|
9668
|
+
.rtg-font-normal {
|
|
9669
|
+
font-weight: 400;
|
|
9670
|
+
}
|
|
9179
9671
|
.rtg-font-semibold {
|
|
9180
9672
|
font-weight: 600;
|
|
9181
9673
|
}
|
|
@@ -10790,9 +11282,6 @@ body {
|
|
|
10790
11282
|
.\[\&_\[rtgcmd-item\]_svg\]\:rtg-w-5 [rtgcmd-item] svg {
|
|
10791
11283
|
width: 1.25rem;
|
|
10792
11284
|
}
|
|
10793
|
-
.\[\&_button\]\:rtg-w-full button {
|
|
10794
|
-
width: 100%;
|
|
10795
|
-
}
|
|
10796
11285
|
.\[\&_svg\:not\(\[class\*\=\"rtg-size-\"\]\)\]\:rtg-size-button-icon-space-size svg:not([class*="rtg-size-"]) {
|
|
10797
11286
|
width: var(--rtg-button-icon-space-size-default);
|
|
10798
11287
|
height: var(--rtg-button-icon-space-size-default);
|