opui-css 5.0.0 → 5.0.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/CHANGELOG.md +282 -276
- package/LICENSE +21 -21
- package/MIGRATING.md +127 -127
- package/README.md +87 -87
- package/astro/index.ts +46 -46
- package/components/AGENTS.md +248 -248
- package/components/Accordion/Accordion.astro +42 -42
- package/components/Anchor/Anchor.astro +51 -51
- package/components/Avatar/Avatar.astro +38 -38
- package/components/Badge/Badge.astro +59 -59
- package/components/Button/Button.astro +45 -45
- package/components/ButtonGroup/ButtonGroup.astro +29 -29
- package/components/Callout/Callout.astro +75 -75
- package/components/Card/Card.astro +36 -36
- package/components/Checkbox/Checkbox.astro +76 -76
- package/components/Checkbox/CheckboxInput.astro +32 -32
- package/components/Chip/Chip.astro +37 -37
- package/components/ClassicSelect/ClassicSelect.astro +83 -83
- package/components/DescriptionList/Description.astro +12 -12
- package/components/DescriptionList/DescriptionList.astro +22 -22
- package/components/DescriptionList/Item.astro +12 -12
- package/components/DescriptionList/Term.astro +12 -12
- package/components/DescriptionList/index.ts +12 -12
- package/components/Dialog/Dialog.astro +41 -41
- package/components/Divider/Divider.astro +17 -17
- package/components/Drawer/Drawer.astro +49 -49
- package/components/Drawer/DrawerFooter.astro +14 -14
- package/components/Drawer/DrawerHeader.astro +31 -31
- package/components/FieldDescription/FieldDescription.astro +13 -13
- package/components/FieldGroup/FieldGroup.astro +31 -31
- package/components/FieldLegend/FieldLegend.astro +15 -15
- package/components/FieldSet/FieldSet.astro +15 -15
- package/components/Form/Form.astro +15 -15
- package/components/IconButton/IconButton.astro +26 -26
- package/components/List/List.astro +36 -36
- package/components/ListItem/ListItem.astro +118 -118
- package/components/Progress/Progress.astro +41 -40
- package/components/Radio/Radio.astro +70 -70
- package/components/Radio/RadioInput.astro +24 -24
- package/components/Range/Range.astro +136 -136
- package/components/Select/Select.astro +106 -106
- package/components/Switch/Switch.astro +101 -101
- package/components/Switch/SwitchInput.astro +25 -25
- package/components/Table/Body.astro +13 -13
- package/components/Table/Cell.astro +13 -13
- package/components/Table/Column.astro +15 -15
- package/components/Table/ColumnGroup.astro +13 -13
- package/components/Table/Head.astro +13 -13
- package/components/Table/HeaderCell.astro +13 -13
- package/components/Table/Row.astro +13 -13
- package/components/Table/Table.astro +18 -18
- package/components/Table/index.ts +20 -20
- package/components/Tabs/Tabs.astro +28 -28
- package/components/Tabs/TabsItem.astro +47 -47
- package/components/Tabs/TabsPanel.astro +21 -21
- package/components/Tabs/TabsTab.astro +19 -19
- package/components/Tabs/index.ts +14 -14
- package/components/TextField/TextField.astro +128 -128
- package/components/Textarea/Textarea.astro +106 -106
- package/components/Toast/Toast.astro +42 -42
- package/components/ToggleButton/ToggleButton.astro +53 -53
- package/components/ToggleGroup/ToggleGroup.astro +49 -49
- package/components/Tooltip/Tooltip.astro +30 -30
- package/core/normalize.css +194 -194
- package/core/palette.css +59 -59
- package/core/utils.css +71 -71
- package/css/components/accordion.css +174 -174
- package/css/components/anchor.css +27 -27
- package/css/components/avatar.css +65 -65
- package/css/components/badge.css +107 -107
- package/css/components/button-group.css +179 -179
- package/css/components/button.css +215 -215
- package/css/components/callout.css +109 -109
- package/css/components/card.css +117 -117
- package/css/components/checkbox.css +205 -205
- package/css/components/chip.css +87 -87
- package/css/components/description-list.css +80 -80
- package/css/components/dialog.css +68 -68
- package/css/components/divider.css +20 -20
- package/css/components/drawer.css +171 -171
- package/css/components/form.css +146 -146
- package/css/components/icon-button.css +139 -139
- package/css/components/link.css +21 -21
- package/css/components/list.css +345 -345
- package/css/components/progress.css +102 -97
- package/css/components/radio.css +172 -172
- package/css/components/range.css +337 -337
- package/css/components/select.css +169 -169
- package/css/components/spinner.css +37 -37
- package/css/components/switch.css +268 -268
- package/css/components/table.css +179 -179
- package/css/components/tabs.css +83 -83
- package/css/components/text-field.css +450 -450
- package/css/components/text-input.css +64 -64
- package/css/components/textarea.css +24 -24
- package/css/components/toast.css +161 -161
- package/css/components/toggle-button.css +87 -87
- package/css/components/toggle-group.css +56 -56
- package/css/components/tooltip.css +67 -67
- package/css/components/typography.css +585 -585
- package/css/components.css +41 -41
- package/css/imports.css +16 -16
- package/css/js/checkbox.js +21 -21
- package/css/js/toast.js +94 -94
- package/css/theme.css +132 -132
- package/dist/op.css +65 -65
- package/dist/op.css.map +1 -1
- package/dist/opui.components.css +5159 -5154
- package/dist/opui.components.css.map +1 -1
- package/dist/opui.css +5668 -5663
- package/dist/opui.css.map +1 -1
- package/env.d.ts +14 -14
- package/open-props.css +9 -9
- package/package.json +81 -81
package/env.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/// <reference types="astro/client" />
|
|
2
|
-
|
|
3
|
-
declare namespace App {
|
|
4
|
-
interface Locals {
|
|
5
|
-
$id: (prefix: string) => string
|
|
6
|
-
_isInsideForm: boolean
|
|
7
|
-
currentFieldName?: string
|
|
8
|
-
currentToggleGroupName?: string
|
|
9
|
-
currentToggleGroupType?: "radio" | "checkbox"
|
|
10
|
-
tabsGroupName?: string
|
|
11
|
-
currentTabId?: string
|
|
12
|
-
currentPanelId?: string
|
|
13
|
-
}
|
|
14
|
-
}
|
|
1
|
+
/// <reference types="astro/client" />
|
|
2
|
+
|
|
3
|
+
declare namespace App {
|
|
4
|
+
interface Locals {
|
|
5
|
+
$id: (prefix: string) => string
|
|
6
|
+
_isInsideForm: boolean
|
|
7
|
+
currentFieldName?: string
|
|
8
|
+
currentToggleGroupName?: string
|
|
9
|
+
currentToggleGroupType?: "radio" | "checkbox"
|
|
10
|
+
tabsGroupName?: string
|
|
11
|
+
currentTabId?: string
|
|
12
|
+
currentPanelId?: string
|
|
13
|
+
}
|
|
14
|
+
}
|
package/open-props.css
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Open Props
|
|
3
|
-
* Import as many props as you need here.
|
|
4
|
-
* https://app.unpkg.com/open-props@1.7.17/files/src
|
|
5
|
-
*/
|
|
6
|
-
@import "open-props/src/index.css" layer(openprops);
|
|
7
|
-
@import "open-props/src/props.colors-oklch-hues.css" layer(openprops);
|
|
8
|
-
@import "open-props/src/props.gray-oklch.css" layer(openprops);
|
|
9
|
-
@import "./core/palette.css" layer(openprops);
|
|
1
|
+
/*
|
|
2
|
+
* Open Props
|
|
3
|
+
* Import as many props as you need here.
|
|
4
|
+
* https://app.unpkg.com/open-props@1.7.17/files/src
|
|
5
|
+
*/
|
|
6
|
+
@import "open-props/src/index.css" layer(openprops);
|
|
7
|
+
@import "open-props/src/props.colors-oklch-hues.css" layer(openprops);
|
|
8
|
+
@import "open-props/src/props.gray-oklch.css" layer(openprops);
|
|
9
|
+
@import "./core/palette.css" layer(openprops);
|
package/package.json
CHANGED
|
@@ -1,81 +1,81 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "opui-css",
|
|
3
|
-
"version": "5.0.
|
|
4
|
-
"description": "A CSS UI library exploring next-gen HTML & CSS features. Astro components on top of Open Props.",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"author": "Felix Bohlin",
|
|
8
|
-
"homepage": "https://open-props-ui.netlify.app/",
|
|
9
|
-
"repository": {
|
|
10
|
-
"type": "git",
|
|
11
|
-
"url": "git+https://github.com/felix-bohlin/ui.git",
|
|
12
|
-
"directory": "packages/opui"
|
|
13
|
-
},
|
|
14
|
-
"bugs": {
|
|
15
|
-
"url": "https://github.com/felix-bohlin/ui/issues"
|
|
16
|
-
},
|
|
17
|
-
"keywords": [
|
|
18
|
-
"astro",
|
|
19
|
-
"components",
|
|
20
|
-
"css",
|
|
21
|
-
"design-system",
|
|
22
|
-
"html",
|
|
23
|
-
"open-props",
|
|
24
|
-
"ui"
|
|
25
|
-
],
|
|
26
|
-
"sideEffects": [
|
|
27
|
-
"*.css",
|
|
28
|
-
"./css/js/*.js"
|
|
29
|
-
],
|
|
30
|
-
"files": [
|
|
31
|
-
"astro",
|
|
32
|
-
"components",
|
|
33
|
-
"core",
|
|
34
|
-
"css",
|
|
35
|
-
"dist",
|
|
36
|
-
"env.d.ts",
|
|
37
|
-
"open-props.css",
|
|
38
|
-
"CHANGELOG.md",
|
|
39
|
-
"CONTRIBUTING.md",
|
|
40
|
-
"LICENSE",
|
|
41
|
-
"MIGRATING.md",
|
|
42
|
-
"README.md",
|
|
43
|
-
"RELEASING.md"
|
|
44
|
-
],
|
|
45
|
-
"style": "./dist/opui.css",
|
|
46
|
-
"exports": {
|
|
47
|
-
".": "./dist/opui.css",
|
|
48
|
-
"./open-props": "./dist/op.css",
|
|
49
|
-
"./astro": "./astro/index.ts",
|
|
50
|
-
"./components/*": "./components/*",
|
|
51
|
-
"./core/*": "./core/*.css",
|
|
52
|
-
"./css/*": "./css/*.css",
|
|
53
|
-
"./dist/*": "./dist/*"
|
|
54
|
-
},
|
|
55
|
-
"scripts": {
|
|
56
|
-
"build": "node scripts/build.mjs",
|
|
57
|
-
"prepack": "node scripts/build.mjs",
|
|
58
|
-
"release": "pnpm version patch && pnpm publish && git push --follow-tags",
|
|
59
|
-
"release:minor": "pnpm version minor && pnpm publish && git push --follow-tags",
|
|
60
|
-
"release:major": "pnpm version major && pnpm publish && git push --follow-tags"
|
|
61
|
-
},
|
|
62
|
-
"devDependencies": {
|
|
63
|
-
"postcss": "^8.4.0",
|
|
64
|
-
"postcss-import": "^16.1.0"
|
|
65
|
-
},
|
|
66
|
-
"peerDependencies": {
|
|
67
|
-
"astro": "^6.3.1",
|
|
68
|
-
"open-props": "^1.7.23"
|
|
69
|
-
},
|
|
70
|
-
"peerDependenciesMeta": {
|
|
71
|
-
"astro": {
|
|
72
|
-
"optional": true
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
"publishConfig": {
|
|
76
|
-
"access": "public"
|
|
77
|
-
},
|
|
78
|
-
"engines": {
|
|
79
|
-
"node": ">=22"
|
|
80
|
-
}
|
|
81
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "opui-css",
|
|
3
|
+
"version": "5.0.1",
|
|
4
|
+
"description": "A CSS UI library exploring next-gen HTML & CSS features. Astro components on top of Open Props.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"author": "Felix Bohlin",
|
|
8
|
+
"homepage": "https://open-props-ui.netlify.app/",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/felix-bohlin/ui.git",
|
|
12
|
+
"directory": "packages/opui"
|
|
13
|
+
},
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/felix-bohlin/ui/issues"
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"astro",
|
|
19
|
+
"components",
|
|
20
|
+
"css",
|
|
21
|
+
"design-system",
|
|
22
|
+
"html",
|
|
23
|
+
"open-props",
|
|
24
|
+
"ui"
|
|
25
|
+
],
|
|
26
|
+
"sideEffects": [
|
|
27
|
+
"*.css",
|
|
28
|
+
"./css/js/*.js"
|
|
29
|
+
],
|
|
30
|
+
"files": [
|
|
31
|
+
"astro",
|
|
32
|
+
"components",
|
|
33
|
+
"core",
|
|
34
|
+
"css",
|
|
35
|
+
"dist",
|
|
36
|
+
"env.d.ts",
|
|
37
|
+
"open-props.css",
|
|
38
|
+
"CHANGELOG.md",
|
|
39
|
+
"CONTRIBUTING.md",
|
|
40
|
+
"LICENSE",
|
|
41
|
+
"MIGRATING.md",
|
|
42
|
+
"README.md",
|
|
43
|
+
"RELEASING.md"
|
|
44
|
+
],
|
|
45
|
+
"style": "./dist/opui.css",
|
|
46
|
+
"exports": {
|
|
47
|
+
".": "./dist/opui.css",
|
|
48
|
+
"./open-props": "./dist/op.css",
|
|
49
|
+
"./astro": "./astro/index.ts",
|
|
50
|
+
"./components/*": "./components/*",
|
|
51
|
+
"./core/*": "./core/*.css",
|
|
52
|
+
"./css/*": "./css/*.css",
|
|
53
|
+
"./dist/*": "./dist/*"
|
|
54
|
+
},
|
|
55
|
+
"scripts": {
|
|
56
|
+
"build": "node scripts/build.mjs",
|
|
57
|
+
"prepack": "node scripts/build.mjs",
|
|
58
|
+
"release": "pnpm version patch && pnpm publish && git push --follow-tags",
|
|
59
|
+
"release:minor": "pnpm version minor && pnpm publish && git push --follow-tags",
|
|
60
|
+
"release:major": "pnpm version major && pnpm publish && git push --follow-tags"
|
|
61
|
+
},
|
|
62
|
+
"devDependencies": {
|
|
63
|
+
"postcss": "^8.4.0",
|
|
64
|
+
"postcss-import": "^16.1.0"
|
|
65
|
+
},
|
|
66
|
+
"peerDependencies": {
|
|
67
|
+
"astro": "^6.3.1",
|
|
68
|
+
"open-props": "^1.7.23"
|
|
69
|
+
},
|
|
70
|
+
"peerDependenciesMeta": {
|
|
71
|
+
"astro": {
|
|
72
|
+
"optional": true
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"publishConfig": {
|
|
76
|
+
"access": "public"
|
|
77
|
+
},
|
|
78
|
+
"engines": {
|
|
79
|
+
"node": ">=22"
|
|
80
|
+
}
|
|
81
|
+
}
|