@byline/ui 6.10.1 → 6.11.0
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/accordion/accordion_module.css +3 -3
- package/dist/components/avatar/avatar_module.css +3 -3
- package/dist/components/badge/badge_module.css +3 -3
- package/dist/components/button/button-group_module.css +3 -3
- package/dist/components/button/button_module.css +3 -3
- package/dist/components/button/combo-button_module.css +3 -3
- package/dist/components/button/control-buttons_module.css +3 -3
- package/dist/components/button/copy-button_module.css +3 -3
- package/dist/components/card/card_module.css +3 -3
- package/dist/components/chips/chip_module.css +3 -3
- package/dist/components/container/container_module.css +3 -3
- package/dist/components/dropdown/dropdown_module.css +3 -3
- package/dist/components/hamburger/hamburger_module.css +3 -3
- package/dist/components/inputs/autocomplete_module.css +3 -3
- package/dist/components/inputs/calendar_module.css +3 -3
- package/dist/components/inputs/checkbox-group_module.css +3 -3
- package/dist/components/inputs/checkbox_module.css +3 -3
- package/dist/components/inputs/error-text_module.css +3 -3
- package/dist/components/inputs/help-text_module.css +3 -3
- package/dist/components/inputs/input-adornment_module.css +3 -3
- package/dist/components/inputs/input-password_module.css +5 -1
- package/dist/components/inputs/input_module.css +3 -3
- package/dist/components/inputs/label_module.css +3 -3
- package/dist/components/inputs/radio-group_module.css +3 -3
- package/dist/components/inputs/select_module.css +3 -3
- package/dist/components/inputs/text-area_module.css +3 -3
- package/dist/components/notifications/alert_module.css +3 -3
- package/dist/components/notifications/toast_module.css +3 -3
- package/dist/components/pager/pagination_module.css +3 -3
- package/dist/components/scroll-area/scroll-area_module.css +3 -3
- package/dist/components/scroll-to-top/scroll-to-top_module.css +3 -3
- package/dist/components/section/section_module.css +3 -3
- package/dist/components/shimmer/shimmer_module.css +3 -3
- package/dist/components/table/table_module.css +3 -3
- package/dist/components/tabs/tabs_module.css +3 -3
- package/dist/components/tooltip/tooltip_module.css +3 -3
- package/dist/css-layers.d.ts +11 -0
- package/dist/css-layers.js +19 -0
- package/dist/dnd/draggable-sortable/demo/draggable-list-demo_module.css +38 -32
- package/dist/icons/icons_module.css +3 -3
- package/dist/loaders/ellipses_module.css +3 -3
- package/dist/loaders/ring_module.css +3 -3
- package/dist/loaders/spinner_module.css +3 -3
- package/dist/styles/reset.css +1 -1
- package/dist/styles/styles.css +35 -31
- package/dist/styles/typography.css +1 -1
- package/dist/widgets/datepicker/datepicker_module.css +3 -3
- package/dist/widgets/drawer/drawer_module.css +3 -3
- package/dist/widgets/image-lightbox/image-lightbox_module.css +3 -3
- package/dist/widgets/modal/modal_module.css +3 -3
- package/dist/widgets/timeline/timeline_module.css +3 -3
- package/package.json +18 -4
- package/src/components/accordion/accordion.module.css +5 -3
- package/src/components/avatar/avatar.module.css +5 -4
- package/src/components/badge/badge.module.css +5 -4
- package/src/components/button/button-group.module.css +5 -3
- package/src/components/button/button.module.css +5 -4
- package/src/components/button/combo-button.module.css +5 -3
- package/src/components/button/control-buttons.module.css +5 -3
- package/src/components/button/copy-button.module.css +5 -4
- package/src/components/card/card.module.css +5 -4
- package/src/components/chips/chip.module.css +5 -4
- package/src/components/container/container.module.css +5 -4
- package/src/components/dropdown/dropdown.module.css +5 -4
- package/src/components/hamburger/hamburger.module.css +5 -4
- package/src/components/inputs/autocomplete.module.css +6 -3
- package/src/components/inputs/calendar.module.css +5 -4
- package/src/components/inputs/checkbox-group.module.css +5 -4
- package/src/components/inputs/checkbox.module.css +5 -4
- package/src/components/inputs/error-text.module.css +5 -4
- package/src/components/inputs/help-text.module.css +5 -4
- package/src/components/inputs/input-adornment.module.css +5 -4
- package/src/components/inputs/input-password.module.css +15 -1
- package/src/components/inputs/input.module.css +5 -4
- package/src/components/inputs/label.module.css +5 -4
- package/src/components/inputs/radio-group.module.css +5 -4
- package/src/components/inputs/select.module.css +5 -4
- package/src/components/inputs/text-area.module.css +5 -4
- package/src/components/notifications/alert.module.css +5 -4
- package/src/components/notifications/toast.module.css +6 -3
- package/src/components/pager/pagination.module.css +5 -4
- package/src/components/scroll-area/scroll-area.module.css +5 -4
- package/src/components/scroll-to-top/scroll-to-top.module.css +5 -3
- package/src/components/section/section.module.css +5 -4
- package/src/components/shimmer/shimmer.module.css +5 -4
- package/src/components/table/table.module.css +5 -4
- package/src/components/tabs/tabs.module.css +5 -4
- package/src/components/tooltip/tooltip.module.css +5 -4
- package/src/css-layers.ts +25 -0
- package/src/dnd/draggable-sortable/demo/draggable-list-demo.module.css +72 -56
- package/src/icons/icons.module.css +5 -3
- package/src/loaders/ellipses.module.css +5 -4
- package/src/loaders/ring.module.css +5 -4
- package/src/loaders/spinner.module.css +5 -4
- package/src/styles/base/animations.css +12 -0
- package/src/styles/base/base.css +12 -0
- package/src/styles/base/borders.css +12 -0
- package/src/styles/base/breakpoints.css +12 -0
- package/src/styles/base/colors.css +12 -0
- package/src/styles/base/opacity.css +12 -0
- package/src/styles/base/shadows.css +12 -0
- package/src/styles/base/size.css +12 -0
- package/src/styles/base/spacing.css +12 -0
- package/src/styles/base/transitions.css +12 -0
- package/src/styles/base/typography.css +12 -0
- package/src/styles/base/z-index.css +12 -0
- package/src/styles/components/components.css +12 -0
- package/src/styles/components/fade-in-lift.css +29 -13
- package/src/styles/components/hamburger.css +9 -5
- package/src/styles/components/loaders.css +169 -155
- package/src/styles/functional/borders.css +14 -0
- package/src/styles/functional/colors.css +14 -0
- package/src/styles/functional/functional.css +12 -0
- package/src/styles/functional/grid-flex.css +12 -0
- package/src/styles/functional/shadcn-compat.css +14 -0
- package/src/styles/functional/surfaces.css +14 -0
- package/src/styles/functional/typography.css +14 -0
- package/src/styles/local-fonts.css +14 -0
- package/src/styles/reset.css +18 -24
- package/src/styles/styles.css +20 -15
- package/src/styles/theme/autofill.css +12 -0
- package/src/styles/theme/defaults.css +14 -0
- package/src/styles/theme/scrollers.css +12 -0
- package/src/styles/theme/theme.css +14 -0
- package/src/styles/typography/fonts.css +12 -0
- package/src/styles/typography/prose.css +14 -0
- package/src/styles/typography.css +4 -3
- package/src/widgets/datepicker/datepicker.module.css +5 -3
- package/src/widgets/drawer/drawer.module.css +7 -3
- package/src/widgets/image-lightbox/image-lightbox.module.css +5 -3
- package/src/widgets/modal/modal.module.css +7 -3
- package/src/widgets/timeline/timeline.module.css +5 -4
|
@@ -6,10 +6,11 @@
|
|
|
6
6
|
byline-typography,
|
|
7
7
|
components,
|
|
8
8
|
byline-components,
|
|
9
|
-
|
|
10
|
-
byline-utilities
|
|
11
|
-
|
|
12
|
-
@layer byline-components
|
|
9
|
+
overrides,
|
|
10
|
+
byline-utilities,
|
|
11
|
+
utilities;
|
|
12
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
13
|
+
@layer byline-components.primitives {
|
|
13
14
|
.container,
|
|
14
15
|
:global(.byline-checkbox-container) {
|
|
15
16
|
width: 100%;
|
|
@@ -6,10 +6,11 @@
|
|
|
6
6
|
byline-typography,
|
|
7
7
|
components,
|
|
8
8
|
byline-components,
|
|
9
|
-
|
|
10
|
-
byline-utilities
|
|
11
|
-
|
|
12
|
-
@layer byline-components
|
|
9
|
+
overrides,
|
|
10
|
+
byline-utilities,
|
|
11
|
+
utilities;
|
|
12
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
13
|
+
@layer byline-components.primitives {
|
|
13
14
|
.text,
|
|
14
15
|
:global(.byline-error-text) {
|
|
15
16
|
font-size: 0.875rem;
|
|
@@ -6,10 +6,11 @@
|
|
|
6
6
|
byline-typography,
|
|
7
7
|
components,
|
|
8
8
|
byline-components,
|
|
9
|
-
|
|
10
|
-
byline-utilities
|
|
11
|
-
|
|
12
|
-
@layer byline-components
|
|
9
|
+
overrides,
|
|
10
|
+
byline-utilities,
|
|
11
|
+
utilities;
|
|
12
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
13
|
+
@layer byline-components.primitives {
|
|
13
14
|
.text,
|
|
14
15
|
:global(.byline-help-text) {
|
|
15
16
|
font-size: 0.875rem;
|
|
@@ -6,10 +6,11 @@
|
|
|
6
6
|
byline-typography,
|
|
7
7
|
components,
|
|
8
8
|
byline-components,
|
|
9
|
-
|
|
10
|
-
byline-utilities
|
|
11
|
-
|
|
12
|
-
@layer byline-components
|
|
9
|
+
overrides,
|
|
10
|
+
byline-utilities,
|
|
11
|
+
utilities;
|
|
12
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
13
|
+
@layer byline-components.primitives {
|
|
13
14
|
.adornment,
|
|
14
15
|
:global(.byline-input-adornment) {
|
|
15
16
|
display: flex;
|
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
overrides,
|
|
10
|
+
byline-utilities,
|
|
11
|
+
utilities;
|
|
12
|
+
|
|
13
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
14
|
+
|
|
1
15
|
/**
|
|
2
16
|
* InputPassword — the reveal toggle inside the input's end adornment.
|
|
3
17
|
*
|
|
@@ -9,7 +23,7 @@
|
|
|
9
23
|
* what the bare icon used to look like.
|
|
10
24
|
*/
|
|
11
25
|
|
|
12
|
-
@layer byline-components {
|
|
26
|
+
@layer byline-components.primitives {
|
|
13
27
|
.toggle,
|
|
14
28
|
:global(.byline-input-password-toggle) {
|
|
15
29
|
display: flex;
|
|
@@ -6,10 +6,11 @@
|
|
|
6
6
|
byline-typography,
|
|
7
7
|
components,
|
|
8
8
|
byline-components,
|
|
9
|
-
|
|
10
|
-
byline-utilities
|
|
11
|
-
|
|
12
|
-
@layer byline-components
|
|
9
|
+
overrides,
|
|
10
|
+
byline-utilities,
|
|
11
|
+
utilities;
|
|
12
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
13
|
+
@layer byline-components.primitives {
|
|
13
14
|
.input-wrapper,
|
|
14
15
|
:global(.byline-input-wrapper) {
|
|
15
16
|
display: flex;
|
|
@@ -6,10 +6,11 @@
|
|
|
6
6
|
byline-typography,
|
|
7
7
|
components,
|
|
8
8
|
byline-components,
|
|
9
|
-
|
|
10
|
-
byline-utilities
|
|
11
|
-
|
|
12
|
-
@layer byline-components
|
|
9
|
+
overrides,
|
|
10
|
+
byline-utilities,
|
|
11
|
+
utilities;
|
|
12
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
13
|
+
@layer byline-components.primitives {
|
|
13
14
|
.label,
|
|
14
15
|
:global(.byline-label) {
|
|
15
16
|
display: block;
|
|
@@ -6,11 +6,12 @@
|
|
|
6
6
|
byline-typography,
|
|
7
7
|
components,
|
|
8
8
|
byline-components,
|
|
9
|
-
|
|
10
|
-
byline-utilities
|
|
11
|
-
|
|
9
|
+
overrides,
|
|
10
|
+
byline-utilities,
|
|
11
|
+
utilities;
|
|
12
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
12
13
|
/* 'border-collapse w-full text-sm text-left text-gray-700 dark:text-gray-400 m-0', */
|
|
13
|
-
@layer byline-components {
|
|
14
|
+
@layer byline-components.primitives {
|
|
14
15
|
.column,
|
|
15
16
|
:global(.byline-radio-group-column) {
|
|
16
17
|
display: flex;
|
|
@@ -6,10 +6,11 @@
|
|
|
6
6
|
byline-typography,
|
|
7
7
|
components,
|
|
8
8
|
byline-components,
|
|
9
|
-
|
|
10
|
-
byline-utilities
|
|
11
|
-
|
|
12
|
-
@layer byline-components
|
|
9
|
+
overrides,
|
|
10
|
+
byline-utilities,
|
|
11
|
+
utilities;
|
|
12
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
13
|
+
@layer byline-components.primitives {
|
|
13
14
|
.positioner,
|
|
14
15
|
:global(.byline-select-positioner) {
|
|
15
16
|
z-index: var(--z-index-popover);
|
|
@@ -6,10 +6,11 @@
|
|
|
6
6
|
byline-typography,
|
|
7
7
|
components,
|
|
8
8
|
byline-components,
|
|
9
|
-
|
|
10
|
-
byline-utilities
|
|
11
|
-
|
|
12
|
-
@layer byline-components
|
|
9
|
+
overrides,
|
|
10
|
+
byline-utilities,
|
|
11
|
+
utilities;
|
|
12
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
13
|
+
@layer byline-components.primitives {
|
|
13
14
|
.text-area,
|
|
14
15
|
:global(.byline-text-area) {
|
|
15
16
|
font-size: 1rem;
|
|
@@ -6,10 +6,11 @@
|
|
|
6
6
|
byline-typography,
|
|
7
7
|
components,
|
|
8
8
|
byline-components,
|
|
9
|
-
|
|
10
|
-
byline-utilities
|
|
11
|
-
|
|
12
|
-
@layer byline-components
|
|
9
|
+
overrides,
|
|
10
|
+
byline-utilities,
|
|
11
|
+
utilities;
|
|
12
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
13
|
+
@layer byline-components.primitives {
|
|
13
14
|
.alert,
|
|
14
15
|
:global(.infonomic-alert) {
|
|
15
16
|
display: flex;
|
|
@@ -6,10 +6,13 @@
|
|
|
6
6
|
byline-typography,
|
|
7
7
|
components,
|
|
8
8
|
byline-components,
|
|
9
|
-
|
|
10
|
-
byline-utilities
|
|
9
|
+
overrides,
|
|
10
|
+
byline-utilities,
|
|
11
|
+
utilities;
|
|
11
12
|
|
|
12
|
-
@layer byline-components
|
|
13
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
14
|
+
|
|
15
|
+
@layer byline-components.primitives {
|
|
13
16
|
/* ============================================
|
|
14
17
|
Viewport — fixed-position container for toasts.
|
|
15
18
|
Position classes are applied here.
|
|
@@ -6,10 +6,11 @@
|
|
|
6
6
|
byline-typography,
|
|
7
7
|
components,
|
|
8
8
|
byline-components,
|
|
9
|
-
|
|
10
|
-
byline-utilities
|
|
11
|
-
|
|
12
|
-
@layer byline-components
|
|
9
|
+
overrides,
|
|
10
|
+
byline-utilities,
|
|
11
|
+
utilities;
|
|
12
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
13
|
+
@layer byline-components.primitives {
|
|
13
14
|
.pagination-root,
|
|
14
15
|
:global(.byline-pagination-root) {
|
|
15
16
|
display: flex;
|
|
@@ -6,10 +6,11 @@
|
|
|
6
6
|
byline-typography,
|
|
7
7
|
components,
|
|
8
8
|
byline-components,
|
|
9
|
-
|
|
10
|
-
byline-utilities
|
|
11
|
-
|
|
12
|
-
@layer byline-components
|
|
9
|
+
overrides,
|
|
10
|
+
byline-utilities,
|
|
11
|
+
utilities;
|
|
12
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
13
|
+
@layer byline-components.primitives {
|
|
13
14
|
.root,
|
|
14
15
|
:global(.byline-scroll-area) {
|
|
15
16
|
border-radius: 4px;
|
|
@@ -6,9 +6,11 @@
|
|
|
6
6
|
byline-typography,
|
|
7
7
|
components,
|
|
8
8
|
byline-components,
|
|
9
|
-
|
|
10
|
-
byline-utilities
|
|
11
|
-
|
|
9
|
+
overrides,
|
|
10
|
+
byline-utilities,
|
|
11
|
+
utilities;
|
|
12
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
13
|
+
@layer byline-components.primitives {
|
|
12
14
|
.scroll-to-top,
|
|
13
15
|
:global(.byline-scroll-to-top) {
|
|
14
16
|
display: flex;
|
|
@@ -6,10 +6,11 @@
|
|
|
6
6
|
byline-typography,
|
|
7
7
|
components,
|
|
8
8
|
byline-components,
|
|
9
|
-
|
|
10
|
-
byline-utilities
|
|
11
|
-
|
|
12
|
-
@layer byline-components
|
|
9
|
+
overrides,
|
|
10
|
+
byline-utilities,
|
|
11
|
+
utilities;
|
|
12
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
13
|
+
@layer byline-components.primitives {
|
|
13
14
|
.section,
|
|
14
15
|
:global(.byline-section) {
|
|
15
16
|
width: 100%;
|
|
@@ -6,11 +6,12 @@
|
|
|
6
6
|
byline-typography,
|
|
7
7
|
components,
|
|
8
8
|
byline-components,
|
|
9
|
-
|
|
10
|
-
byline-utilities
|
|
11
|
-
|
|
9
|
+
overrides,
|
|
10
|
+
byline-utilities,
|
|
11
|
+
utilities;
|
|
12
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
12
13
|
/* 'border-collapse w-full text-sm text-left text-gray-700 dark:text-gray-400 m-0', */
|
|
13
|
-
@layer byline-components {
|
|
14
|
+
@layer byline-components.primitives {
|
|
14
15
|
.shimmer,
|
|
15
16
|
:global(.byline-shimmer) {
|
|
16
17
|
position: relative;
|
|
@@ -6,11 +6,12 @@
|
|
|
6
6
|
byline-typography,
|
|
7
7
|
components,
|
|
8
8
|
byline-components,
|
|
9
|
-
|
|
10
|
-
byline-utilities
|
|
11
|
-
|
|
9
|
+
overrides,
|
|
10
|
+
byline-utilities,
|
|
11
|
+
utilities;
|
|
12
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
12
13
|
/* 'border-collapse w-full text-sm text-left text-gray-700 dark:text-gray-400 m-0', */
|
|
13
|
-
@layer byline-components {
|
|
14
|
+
@layer byline-components.primitives {
|
|
14
15
|
/* 'table--container break-normal overflow-hidden relative shadow-md rounded-md my-[16px] dark:border dark:border-canvas-700', */
|
|
15
16
|
.table-container,
|
|
16
17
|
:global(.byline-table-container) {
|
|
@@ -6,10 +6,11 @@
|
|
|
6
6
|
byline-typography,
|
|
7
7
|
components,
|
|
8
8
|
byline-components,
|
|
9
|
-
|
|
10
|
-
byline-utilities
|
|
11
|
-
|
|
12
|
-
@layer byline-components
|
|
9
|
+
overrides,
|
|
10
|
+
byline-utilities,
|
|
11
|
+
utilities;
|
|
12
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
13
|
+
@layer byline-components.primitives {
|
|
13
14
|
.tabs-root,
|
|
14
15
|
:global(.byline-tabs-root) {
|
|
15
16
|
display: flex;
|
|
@@ -6,10 +6,11 @@
|
|
|
6
6
|
byline-typography,
|
|
7
7
|
components,
|
|
8
8
|
byline-components,
|
|
9
|
-
|
|
10
|
-
byline-utilities
|
|
11
|
-
|
|
12
|
-
@layer byline-components
|
|
9
|
+
overrides,
|
|
10
|
+
byline-utilities,
|
|
11
|
+
utilities;
|
|
12
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
13
|
+
@layer byline-components.primitives {
|
|
13
14
|
.tooltip,
|
|
14
15
|
:global(.byline-tooltip) {
|
|
15
16
|
font-size: 0.75rem;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { Plugin } from 'postcss'
|
|
2
|
+
|
|
3
|
+
const layers =
|
|
4
|
+
'base, byline-base, theme, byline-theme, byline-functional, byline-typography, components, byline-components, overrides, byline-utilities, utilities'
|
|
5
|
+
const componentLayers = 'byline-components.primitives, byline-components.cms'
|
|
6
|
+
|
|
7
|
+
/** Low-to-high precedence for ordinary declarations, shared by packages and hosts. */
|
|
8
|
+
export const BYLINE_LAYER_ORDER = `@layer ${layers}; @layer ${componentLayers};`
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Reserve parent layers and the primitive/CMS sublayers before each stylesheet
|
|
12
|
+
* is hashed by the host bundler. Also render BYLINE_LAYER_ORDER early in the
|
|
13
|
+
* document head for injected CSS. Repeated declarations are harmless, but an
|
|
14
|
+
* existing partial order cannot be repaired after the browser has seen it.
|
|
15
|
+
* This entry does not import the React component graph at runtime.
|
|
16
|
+
*/
|
|
17
|
+
export function bylineLayerOrder(): Plugin {
|
|
18
|
+
return {
|
|
19
|
+
postcssPlugin: 'byline-layer-order',
|
|
20
|
+
Once(root, { AtRule }) {
|
|
21
|
+
root.prepend(new AtRule({ name: 'layer', params: componentLayers }))
|
|
22
|
+
root.prepend(new AtRule({ name: 'layer', params: layers }))
|
|
23
|
+
},
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -1,65 +1,81 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
*/
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
overrides,
|
|
10
|
+
byline-utilities,
|
|
11
|
+
utilities;
|
|
13
12
|
|
|
14
|
-
.
|
|
15
|
-
:global(.byline-demo-list) {
|
|
16
|
-
position: relative;
|
|
17
|
-
margin-inline: auto;
|
|
18
|
-
max-width: 600px;
|
|
19
|
-
}
|
|
13
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
20
14
|
|
|
21
|
-
.
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
0 4px 6px -1px rgb(0 0 0 / 0.1),
|
|
35
|
-
0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
36
|
-
text-decoration: none;
|
|
37
|
-
}
|
|
15
|
+
@layer byline-components.primitives {
|
|
16
|
+
/**
|
|
17
|
+
* DraggableList demo — example of how to assemble DraggableSortable +
|
|
18
|
+
* useSortable into a working list. Not part of the public surface; kept as
|
|
19
|
+
* a documentation example.
|
|
20
|
+
*
|
|
21
|
+
* Override handles:
|
|
22
|
+
* .byline-demo-list — root list container
|
|
23
|
+
* .byline-demo-card — single draggable card
|
|
24
|
+
* .byline-demo-card-dragging — added while the card is mid-drag
|
|
25
|
+
* .byline-demo-card-header — gripper + title row
|
|
26
|
+
* .byline-demo-card-grip — drag handle column
|
|
27
|
+
*/
|
|
38
28
|
|
|
39
|
-
.
|
|
40
|
-
:global(.byline-demo-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}
|
|
29
|
+
.list,
|
|
30
|
+
:global(.byline-demo-list) {
|
|
31
|
+
position: relative;
|
|
32
|
+
margin-inline: auto;
|
|
33
|
+
max-width: 600px;
|
|
34
|
+
}
|
|
45
35
|
|
|
46
|
-
.card
|
|
47
|
-
:global(.byline-demo-card
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
36
|
+
.card,
|
|
37
|
+
:global(.byline-demo-card) {
|
|
38
|
+
display: flex;
|
|
39
|
+
flex-direction: column;
|
|
40
|
+
position: relative;
|
|
41
|
+
min-width: 100%;
|
|
42
|
+
max-width: 24rem;
|
|
43
|
+
margin-bottom: var(--spacing-16);
|
|
44
|
+
padding: 1.5rem;
|
|
45
|
+
border: var(--border-width-thin) var(--border-style-solid) var(--canvas-25);
|
|
46
|
+
border-radius: var(--border-radius-lg);
|
|
47
|
+
background-color: white;
|
|
48
|
+
box-shadow:
|
|
49
|
+
0 4px 6px -1px rgb(0 0 0 / 0.1),
|
|
50
|
+
0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
51
|
+
text-decoration: none;
|
|
52
|
+
}
|
|
52
53
|
|
|
53
|
-
.card-
|
|
54
|
-
:global(.byline-demo-card-
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
.card-dragging,
|
|
55
|
+
:global(.byline-demo-card-dragging) {
|
|
56
|
+
box-shadow:
|
|
57
|
+
0 10px 15px -3px rgb(0 0 0 / 0.1),
|
|
58
|
+
0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
59
|
+
}
|
|
57
60
|
|
|
58
|
-
|
|
61
|
+
.card-header,
|
|
62
|
+
:global(.byline-demo-card-header) {
|
|
63
|
+
display: flex;
|
|
64
|
+
align-items: center;
|
|
65
|
+
justify-content: flex-start;
|
|
66
|
+
}
|
|
59
67
|
|
|
60
|
-
|
|
61
|
-
.card
|
|
62
|
-
|
|
63
|
-
|
|
68
|
+
.card-grip,
|
|
69
|
+
:global(.byline-demo-card-grip) {
|
|
70
|
+
margin-right: var(--spacing-8);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/* ─── Dark theme variants ───────────────────────────────────── */
|
|
74
|
+
|
|
75
|
+
:is([data-theme="dark"], :global(.dark)) {
|
|
76
|
+
.card,
|
|
77
|
+
:global(.byline-demo-card) {
|
|
78
|
+
background-color: var(--canvas-800);
|
|
79
|
+
}
|
|
64
80
|
}
|
|
65
81
|
}
|
|
@@ -6,9 +6,11 @@
|
|
|
6
6
|
byline-typography,
|
|
7
7
|
components,
|
|
8
8
|
byline-components,
|
|
9
|
-
|
|
10
|
-
byline-utilities
|
|
11
|
-
|
|
9
|
+
overrides,
|
|
10
|
+
byline-utilities,
|
|
11
|
+
utilities;
|
|
12
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
13
|
+
@layer byline-components.primitives {
|
|
12
14
|
.element-root {
|
|
13
15
|
width: 1.375rem;
|
|
14
16
|
height: 1.375rem;
|
|
@@ -6,10 +6,11 @@
|
|
|
6
6
|
byline-typography,
|
|
7
7
|
components,
|
|
8
8
|
byline-components,
|
|
9
|
-
|
|
10
|
-
byline-utilities
|
|
11
|
-
|
|
12
|
-
@layer byline-components
|
|
9
|
+
overrides,
|
|
10
|
+
byline-utilities,
|
|
11
|
+
utilities;
|
|
12
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
13
|
+
@layer byline-components.primitives {
|
|
13
14
|
.loader-ellipsis,
|
|
14
15
|
:global(.byline-loader-ellipsis) {
|
|
15
16
|
--_size: var(--loader-ellipsis-size, 80px);
|
|
@@ -6,10 +6,11 @@
|
|
|
6
6
|
byline-typography,
|
|
7
7
|
components,
|
|
8
8
|
byline-components,
|
|
9
|
-
|
|
10
|
-
byline-utilities
|
|
11
|
-
|
|
12
|
-
@layer byline-components
|
|
9
|
+
overrides,
|
|
10
|
+
byline-utilities,
|
|
11
|
+
utilities;
|
|
12
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
13
|
+
@layer byline-components.primitives {
|
|
13
14
|
.loader-ring,
|
|
14
15
|
:global(.byline-loader-ring) {
|
|
15
16
|
--_size: var(--loader-ring-size, 60px);
|
|
@@ -6,10 +6,11 @@
|
|
|
6
6
|
byline-typography,
|
|
7
7
|
components,
|
|
8
8
|
byline-components,
|
|
9
|
-
|
|
10
|
-
byline-utilities
|
|
11
|
-
|
|
12
|
-
@layer byline-components
|
|
9
|
+
overrides,
|
|
10
|
+
byline-utilities,
|
|
11
|
+
utilities;
|
|
12
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
13
|
+
@layer byline-components.primitives {
|
|
13
14
|
.loader-spinner,
|
|
14
15
|
:global(.byline-loader-spinner) {
|
|
15
16
|
--_size: var(--loader-spinner-size, 56px);
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
overrides,
|
|
10
|
+
byline-utilities,
|
|
11
|
+
utilities;
|
|
12
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
1
13
|
@layer byline-base {
|
|
2
14
|
@keyframes enterFromRight {
|
|
3
15
|
from {
|
package/src/styles/base/base.css
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
overrides,
|
|
10
|
+
byline-utilities,
|
|
11
|
+
utilities;
|
|
12
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
1
13
|
@import "./animations.css";
|
|
2
14
|
@import "./borders.css";
|
|
3
15
|
@import "./breakpoints.css";
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
overrides,
|
|
10
|
+
byline-utilities,
|
|
11
|
+
utilities;
|
|
12
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
1
13
|
@layer byline-base {
|
|
2
14
|
:root {
|
|
3
15
|
/* ========================================
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
overrides,
|
|
10
|
+
byline-utilities,
|
|
11
|
+
utilities;
|
|
12
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
1
13
|
@layer byline-base {
|
|
2
14
|
:root {
|
|
3
15
|
/* ========================================
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
overrides,
|
|
10
|
+
byline-utilities,
|
|
11
|
+
utilities;
|
|
12
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
1
13
|
@layer byline-base {
|
|
2
14
|
:root {
|
|
3
15
|
/* Theme base color */
|