draft-components 1.4.3 → 1.5.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/css/draft-components.css
CHANGED
|
@@ -316,7 +316,7 @@
|
|
|
316
316
|
--dc-control-on-primary-color: var(--dc-white);
|
|
317
317
|
--dc-control-secondary-color: rgb(var(--dc-blue-500-rgb) / 0.15);
|
|
318
318
|
--dc-control-border-color: var(--dc-gray-300);
|
|
319
|
-
--dc-control-bg:
|
|
319
|
+
--dc-control-bg: var(--dc-white);
|
|
320
320
|
--dc-control-bg-inset: rgb(var(--dc-gray-900-rgb) / 0.15);
|
|
321
321
|
--dc-control-error-color: var(--dc-red-500);
|
|
322
322
|
--dc-focus-ring-color: rgb(var(--dc-blue-500-rgb) / 0.7);
|
|
@@ -2753,6 +2753,8 @@
|
|
|
2753
2753
|
|
|
2754
2754
|
.dc-table-container {
|
|
2755
2755
|
overflow-x: auto;
|
|
2756
|
+
scroll-behavior: smooth;
|
|
2757
|
+
scroll-snap-type: x mandatory;
|
|
2756
2758
|
box-sizing: border-box;
|
|
2757
2759
|
width: 100%;
|
|
2758
2760
|
border: 0 solid var(--dc-table-border-color);
|
|
@@ -2797,6 +2799,7 @@
|
|
|
2797
2799
|
}
|
|
2798
2800
|
|
|
2799
2801
|
.dc-table-cell {
|
|
2802
|
+
scroll-snap-align: start;
|
|
2800
2803
|
box-sizing: border-box;
|
|
2801
2804
|
padding:
|
|
2802
2805
|
var(--dc-table-cell-padding-y)
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
--dc-control-on-primary-color: var(--dc-white);
|
|
84
84
|
--dc-control-secondary-color: rgb(var(--dc-blue-400-rgb) / 0.15);
|
|
85
85
|
--dc-control-border-color: var(--dc-gray-600);
|
|
86
|
-
--dc-control-bg:
|
|
86
|
+
--dc-control-bg: var(--dc-gray-800);
|
|
87
87
|
--dc-control-bg-inset: rgb(var(--dc-gray-50-rgb) / 0.25);
|
|
88
88
|
--dc-control-error-color: var(--dc-red-400);
|
|
89
89
|
--dc-focus-ring-color: rgb(var(--dc-blue-400-rgb) / 0.7);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "draft-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"description": "The React based UI components library.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -63,11 +63,11 @@
|
|
|
63
63
|
"@babel/preset-typescript": "7.21.5",
|
|
64
64
|
"@heroicons/react": "2.0.18",
|
|
65
65
|
"@rollup/plugin-typescript": "11.1.1",
|
|
66
|
-
"@storybook/addon-actions": "7.0.
|
|
67
|
-
"@storybook/addon-essentials": "7.0.
|
|
68
|
-
"@storybook/addon-links": "7.0.
|
|
69
|
-
"@storybook/react": "7.0.
|
|
70
|
-
"@storybook/react-vite": "7.0.
|
|
66
|
+
"@storybook/addon-actions": "7.0.22",
|
|
67
|
+
"@storybook/addon-essentials": "7.0.22",
|
|
68
|
+
"@storybook/addon-links": "7.0.22",
|
|
69
|
+
"@storybook/react": "7.0.22",
|
|
70
|
+
"@storybook/react-vite": "7.0.22",
|
|
71
71
|
"@testing-library/dom": "9.3.0",
|
|
72
72
|
"@testing-library/jest-dom": "5.16.5",
|
|
73
73
|
"@testing-library/react": "14.0.0",
|
|
@@ -94,12 +94,12 @@
|
|
|
94
94
|
"react": "18.2.0",
|
|
95
95
|
"react-dom": "18.2.0",
|
|
96
96
|
"rollup": "3.21.6",
|
|
97
|
-
"storybook": "7.0.
|
|
97
|
+
"storybook": "7.0.22",
|
|
98
98
|
"stylelint": "15.6.1",
|
|
99
99
|
"stylelint-config-standard": "33.0.0",
|
|
100
100
|
"stylelint-order": "6.0.3",
|
|
101
101
|
"typescript": "4.9.5",
|
|
102
|
-
"vite": "4.3.
|
|
102
|
+
"vite": "4.3.9"
|
|
103
103
|
},
|
|
104
104
|
"lint-staged": {
|
|
105
105
|
"*.ts?(x)": "npm run lint",
|