@openwarelabs/ui 0.10.0 → 0.10.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/README.md +5 -1
- package/dist/components/Avatar/Avatar.d.cts +2 -13
- package/dist/components/Avatar/Avatar.d.ts +2 -13
- package/dist/components/Avatar/Avatar.types.d.cts +13 -0
- package/dist/components/Avatar/Avatar.types.d.ts +13 -0
- package/dist/components/Calendar/DatePicker.d.cts +2 -19
- package/dist/components/Calendar/DatePicker.d.ts +2 -19
- package/dist/components/Calendar/DatePicker.types.d.cts +19 -0
- package/dist/components/Calendar/DatePicker.types.d.ts +19 -0
- package/dist/components/Calendar/DateRangePicker.d.cts +2 -34
- package/dist/components/Calendar/DateRangePicker.d.ts +2 -34
- package/dist/components/Calendar/DateRangePicker.types.d.cts +34 -0
- package/dist/components/Calendar/DateRangePicker.types.d.ts +34 -0
- package/dist/components/ColorPicker/ColorPicker.d.cts +2 -55
- package/dist/components/ColorPicker/ColorPicker.d.ts +2 -55
- package/dist/components/ColorPicker/ColorPicker.types.d.cts +54 -0
- package/dist/components/ColorPicker/ColorPicker.types.d.ts +54 -0
- package/dist/components/ListBox/ListBox.d.cts +3 -61
- package/dist/components/ListBox/ListBox.d.ts +3 -61
- package/dist/components/ListBox/ListBox.types.d.cts +61 -0
- package/dist/components/ListBox/ListBox.types.d.ts +61 -0
- package/dist/components/Prose/Prose.d.cts +2 -16
- package/dist/components/Prose/Prose.d.ts +2 -16
- package/dist/components/Prose/Prose.types.d.cts +16 -0
- package/dist/components/Prose/Prose.types.d.ts +16 -0
- package/dist/components.css +16 -0
- package/dist/index.cjs +34 -13
- package/dist/index.cjs.map +2 -2
- package/dist/index.js +103 -82
- package/dist/index.js.map +3 -3
- package/dist/openware-ui.iife.js +6 -6
- package/dist/styles.css +16 -0
- package/package.json +4 -4
package/dist/styles.css
CHANGED
|
@@ -1652,7 +1652,14 @@
|
|
|
1652
1652
|
}
|
|
1653
1653
|
|
|
1654
1654
|
.ow-date-field__segment {
|
|
1655
|
+
/* At least 24px each way, the smallest a pointer target may be (WCAG 2.2, 2.5.8). */
|
|
1656
|
+
box-sizing: border-box;
|
|
1657
|
+
display: inline-flex;
|
|
1658
|
+
min-width: 24px;
|
|
1659
|
+
min-height: 24px;
|
|
1655
1660
|
flex-shrink: 0;
|
|
1661
|
+
align-items: center;
|
|
1662
|
+
justify-content: center;
|
|
1656
1663
|
border-radius: var(--ow-radius-sm);
|
|
1657
1664
|
padding: 2px;
|
|
1658
1665
|
color: var(--ow-text);
|
|
@@ -1664,6 +1671,11 @@
|
|
|
1664
1671
|
transition-timing-function: var(--ow-ease-standard);
|
|
1665
1672
|
}
|
|
1666
1673
|
|
|
1674
|
+
.ow-date-field__segment[data-segment="0"] {
|
|
1675
|
+
/* The first, often one digit ("6:12"), keeps to the separator after it; the spare width goes before it. */
|
|
1676
|
+
justify-content: flex-end;
|
|
1677
|
+
}
|
|
1678
|
+
|
|
1667
1679
|
.ow-date-field__segment::selection {
|
|
1668
1680
|
background: transparent;
|
|
1669
1681
|
}
|
|
@@ -5511,6 +5523,10 @@
|
|
|
5511
5523
|
line-height: 1;
|
|
5512
5524
|
}
|
|
5513
5525
|
|
|
5526
|
+
.ow-avatar[data-initials]::before {
|
|
5527
|
+
content: attr(data-initials);
|
|
5528
|
+
}
|
|
5529
|
+
|
|
5514
5530
|
.ow-avatar--empty {
|
|
5515
5531
|
background: var(--ow-avatar-empty);
|
|
5516
5532
|
color: var(--ow-on-avatar-empty);
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openwarelabs/ui",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.1",
|
|
4
4
|
"description": "Openware UI: React components and design tokens — midnight and brass, tactile buttons and Inter, in light and dark.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Alexander Silver",
|
|
7
|
-
"homepage": "https://github.
|
|
7
|
+
"homepage": "https://openwarelabs.github.io/ui/",
|
|
8
8
|
"bugs": {
|
|
9
9
|
"url": "https://github.com/openwarelabs/ui/issues"
|
|
10
10
|
},
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"dependencies": {
|
|
69
69
|
"@fontsource-variable/geist-mono": "^5.3.0",
|
|
70
70
|
"@fontsource-variable/inter": "^5.3.0",
|
|
71
|
-
"react-colorful": "5.
|
|
71
|
+
"react-colorful": "5.8.1",
|
|
72
72
|
"sonner": "^2.0.8"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"@types/react-dom": "^18.3.1",
|
|
79
79
|
"axe-core": "^4.14.0",
|
|
80
80
|
"culori": "^4.0.1",
|
|
81
|
-
"esbuild": "^0.
|
|
81
|
+
"esbuild": "^0.28.2",
|
|
82
82
|
"eslint": "^10.12.0",
|
|
83
83
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
84
84
|
"lucide-react": "^1.48.0",
|