@grantcodes/ui 2.12.1 → 2.15.5
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 +75 -0
- package/README.md +5 -1
- package/custom-elements.json +295 -176
- package/package.json +11 -3
- package/src/components/accordion/accordion-item.css +14 -14
- package/src/components/accordion/accordion.css +1 -1
- package/src/components/app-bar/app-bar.component.js +2 -2
- package/src/components/app-bar/app-bar.css +68 -22
- package/src/components/app-bar/app-bar.stories.js +37 -0
- package/src/components/app-bar/app-bar.test.js +19 -0
- package/src/components/app-bar/nav-link.css +10 -11
- package/src/components/avatar/avatar.css +5 -6
- package/src/components/badge/badge.css +16 -15
- package/src/components/breadcrumb/breadcrumb.css +10 -11
- package/src/components/button/button.css +112 -24
- package/src/components/button/button.stories.js +37 -0
- package/src/components/button-group/button-group.css +4 -4
- package/src/components/card/card.css +25 -25
- package/src/components/code-preview/code-preview.css +6 -6
- package/src/components/container/container.css +2 -1
- package/src/components/container/container.stories.js +1 -1
- package/src/components/countdown/countdown.css +13 -13
- package/src/components/cta/cta.component.js +6 -5
- package/src/components/cta/cta.css +15 -23
- package/src/components/dialog/dialog.css +14 -14
- package/src/components/dropdown/dropdown.css +14 -14
- package/src/components/dropzone/dropzone.css +11 -12
- package/src/components/feature-list/feature-list.component.js +3 -2
- package/src/components/feature-list/feature-list.css +14 -20
- package/src/components/footer/footer-column.css +9 -10
- package/src/components/footer/footer.component.js +3 -2
- package/src/components/footer/footer.css +12 -18
- package/src/components/footer/footer.test.js +1 -1
- package/src/components/form-field/form-field.css +6 -6
- package/src/components/hero/hero.css +9 -9
- package/src/components/loading/loading.css +3 -3
- package/src/components/logo-cloud/logo-cloud.component.js +3 -2
- package/src/components/logo-cloud/logo-cloud.css +8 -16
- package/src/components/map/map.css +8 -8
- package/src/components/media-text/media-text.css +9 -9
- package/src/components/newsletter/newsletter.css +21 -21
- package/src/components/notice/notice.css +17 -17
- package/src/components/person/index.js +1 -0
- package/src/components/person/person.component.js +51 -0
- package/src/components/person/person.css +39 -0
- package/src/components/person/person.js +8 -0
- package/src/components/person/person.react.js +9 -0
- package/src/components/person/person.stories.js +59 -0
- package/src/components/person/person.test.js +69 -0
- package/src/components/pricing/pricing.component.js +3 -2
- package/src/components/pricing/pricing.css +33 -41
- package/src/components/sidebar/sidebar.css +21 -21
- package/src/components/stats/stats.component.js +3 -2
- package/src/components/stats/stats.css +13 -21
- package/src/components/tabs/internal/tabs-item.component.js +5 -0
- package/src/components/tabs/tabs.component.js +4 -2
- package/src/components/tabs/tabs.css +15 -15
- package/src/components/testimonials/testimonials.component.js +11 -24
- package/src/components/testimonials/testimonials.css +11 -36
- package/src/components/toast/toast.css +23 -24
- package/src/components/tooltip/tooltip.css +6 -6
- package/src/css/colors.stories.js +6 -6
- package/src/css/elements/a.css +4 -4
- package/src/css/elements/forms/input.css +27 -27
- package/src/css/elements/forms/label.css +1 -1
- package/src/css/elements/media/image.css +1 -0
- package/src/css/layers.stories.js +3 -3
- package/src/css/reset.css +3 -3
- package/src/css/themes/todomap.css +1 -1
- package/src/css/tokens.stories.js +16 -16
- package/src/css/typography.css +7 -7
- package/src/css/util/focus-ring.css +9 -9
- package/src/lib/styles/focus-ring.css +9 -9
- package/src/main.js +1 -0
- package/src/pages/agency.stories.js +5 -4
- package/src/pages/blog-post.stories.js +33 -50
- package/src/pages/saas-landing.stories.js +8 -7
- package/src/react.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,80 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.15.5](https://github.com/grantcodes/ui/compare/ui-v2.15.4...ui-v2.15.5) (2026-06-07)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **ui:** handle app bar nav overflow ([592f8b0](https://github.com/grantcodes/ui/commit/592f8b0a29bd08a49b536dd8691ae9050cb009db))
|
|
9
|
+
|
|
10
|
+
## [2.15.4](https://github.com/grantcodes/ui/compare/ui-v2.15.3...ui-v2.15.4) (2026-06-07)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **ui:** reflect app bar boolean attrs ([10f0685](https://github.com/grantcodes/ui/commit/10f06854563526201031734318a01bc042bfdb8a))
|
|
16
|
+
|
|
17
|
+
## [2.15.3](https://github.com/grantcodes/ui/compare/ui-v2.15.2...ui-v2.15.3) (2026-06-07)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **ui:** h2 margins ([2dac517](https://github.com/grantcodes/ui/commit/2dac517a704817f55f2d46df2fe92340a8c5fb94))
|
|
23
|
+
|
|
24
|
+
## [2.15.2](https://github.com/grantcodes/ui/compare/ui-v2.15.1...ui-v2.15.2) (2026-06-07)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Bug Fixes
|
|
28
|
+
|
|
29
|
+
* align package metadata for trusted publishing ([5ae9181](https://github.com/grantcodes/ui/commit/5ae9181da289c6fdfae3a2aa23c88601256b003d))
|
|
30
|
+
|
|
31
|
+
## [2.15.1](https://github.com/grantcodes/ui/compare/ui-v2.15.0...ui-v2.15.1) (2026-06-07)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### Bug Fixes
|
|
35
|
+
|
|
36
|
+
* refresh package readmes ([8c4c1e5](https://github.com/grantcodes/ui/commit/8c4c1e5c795ed38321a9bb5fe5537e34926769ef))
|
|
37
|
+
|
|
38
|
+
## [2.15.0](https://github.com/grantcodes/ui/compare/ui-v2.14.1...ui-v2.15.0) (2026-06-01)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### Features
|
|
42
|
+
|
|
43
|
+
* **ui, style-dictionary:** expand person usage ([73cc1ca](https://github.com/grantcodes/ui/commit/73cc1cac2b2f84c9663e64d50636b56a7244730b))
|
|
44
|
+
|
|
45
|
+
## [2.14.1](https://github.com/grantcodes/ui/compare/ui-v2.14.0...ui-v2.14.1) (2026-05-31)
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
### Bug Fixes
|
|
49
|
+
|
|
50
|
+
* **ui:** sticky app bar ([c7fbb6e](https://github.com/grantcodes/ui/commit/c7fbb6e5cc5a569d41a7c7e23221dfde6ef56b7f))
|
|
51
|
+
|
|
52
|
+
## [2.14.0](https://github.com/grantcodes/ui/compare/ui-v2.13.0...ui-v2.14.0) (2026-05-31)
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
### Features
|
|
56
|
+
|
|
57
|
+
* **style-dictionary, ui:** add button styles and simplfy tokens ([f5d66b7](https://github.com/grantcodes/ui/commit/f5d66b7953c424e5ae2125495dc555a0f44aacbe))
|
|
58
|
+
* **ui:** add person component and polish styles ([2b6ac36](https://github.com/grantcodes/ui/commit/2b6ac361a87920fc1be8209e572f871c9d199df8))
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
### Bug Fixes
|
|
62
|
+
|
|
63
|
+
* **ui:** color-contrast lint ([29eedf9](https://github.com/grantcodes/ui/commit/29eedf9181448767a6bcbdb0e8b8cddeb3fd2aad))
|
|
64
|
+
* **ui:** css formatting ([ae3a039](https://github.com/grantcodes/ui/commit/ae3a03954acb80b102dd8238521b963502b76c42))
|
|
65
|
+
|
|
66
|
+
## [2.13.0](https://github.com/grantcodes/ui/compare/ui-v2.12.1...ui-v2.13.0) (2026-05-30)
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
### Features
|
|
70
|
+
|
|
71
|
+
* **style-dictionary:** simplify token structure ([e996706](https://github.com/grantcodes/ui/commit/e996706de23efc848d64eb42a271bd96fa914345))
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
### Bug Fixes
|
|
75
|
+
|
|
76
|
+
* **style-dictionary:** trim semantic color tokens ([68a2383](https://github.com/grantcodes/ui/commit/68a2383aef3ce7bcec3ca7bc6f6cbd5198a45fed))
|
|
77
|
+
|
|
3
78
|
## [2.12.1](https://github.com/grantcodes/ui/compare/ui-v2.12.0...ui-v2.12.1) (2026-05-08)
|
|
4
79
|
|
|
5
80
|
|
package/README.md
CHANGED
|
@@ -6,7 +6,9 @@ Components are built with Lit web components using CSS modules for styles with t
|
|
|
6
6
|
|
|
7
7
|
## Installing
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
```bash
|
|
10
|
+
npm install @grantcodes/ui
|
|
11
|
+
```
|
|
10
12
|
|
|
11
13
|
## Usage
|
|
12
14
|
|
|
@@ -22,6 +24,8 @@ Components can be used directly in HTML or imported as ES modules.
|
|
|
22
24
|
import { GrantCodesButton } from '@grantcodes/ui/components/button';
|
|
23
25
|
```
|
|
24
26
|
|
|
27
|
+
For Astro projects, pair this package with `@grantcodes/astro` for the lowest-friction setup.
|
|
28
|
+
|
|
25
29
|
## Creating a new component
|
|
26
30
|
|
|
27
31
|
To create a new component run `npm run generate`. Uses plop.js for scaffolding.
|
package/custom-elements.json
CHANGED
|
@@ -975,6 +975,23 @@
|
|
|
975
975
|
"description": "",
|
|
976
976
|
"name": "GrantCodesButton",
|
|
977
977
|
"members": [
|
|
978
|
+
{
|
|
979
|
+
"kind": "field",
|
|
980
|
+
"name": "_fieldsetDisabled",
|
|
981
|
+
"type": {
|
|
982
|
+
"text": "boolean"
|
|
983
|
+
},
|
|
984
|
+
"default": "false"
|
|
985
|
+
},
|
|
986
|
+
{
|
|
987
|
+
"kind": "method",
|
|
988
|
+
"name": "_handleFormClick",
|
|
989
|
+
"parameters": [
|
|
990
|
+
{
|
|
991
|
+
"name": "e"
|
|
992
|
+
}
|
|
993
|
+
]
|
|
994
|
+
},
|
|
978
995
|
{
|
|
979
996
|
"kind": "field",
|
|
980
997
|
"name": "disabled",
|
|
@@ -986,6 +1003,38 @@
|
|
|
986
1003
|
"attribute": "disabled",
|
|
987
1004
|
"reflects": true
|
|
988
1005
|
},
|
|
1006
|
+
{
|
|
1007
|
+
"kind": "field",
|
|
1008
|
+
"name": "form",
|
|
1009
|
+
"privacy": "public",
|
|
1010
|
+
"type": {
|
|
1011
|
+
"text": "string"
|
|
1012
|
+
},
|
|
1013
|
+
"attribute": "form",
|
|
1014
|
+
"reflects": true
|
|
1015
|
+
},
|
|
1016
|
+
{
|
|
1017
|
+
"kind": "field",
|
|
1018
|
+
"name": "formAssociated",
|
|
1019
|
+
"type": {
|
|
1020
|
+
"text": "boolean"
|
|
1021
|
+
},
|
|
1022
|
+
"static": true,
|
|
1023
|
+
"default": "true"
|
|
1024
|
+
},
|
|
1025
|
+
{
|
|
1026
|
+
"kind": "method",
|
|
1027
|
+
"name": "formDisabledCallback",
|
|
1028
|
+
"parameters": [
|
|
1029
|
+
{
|
|
1030
|
+
"name": "disabled"
|
|
1031
|
+
}
|
|
1032
|
+
]
|
|
1033
|
+
},
|
|
1034
|
+
{
|
|
1035
|
+
"kind": "method",
|
|
1036
|
+
"name": "formResetCallback"
|
|
1037
|
+
},
|
|
989
1038
|
{
|
|
990
1039
|
"kind": "field",
|
|
991
1040
|
"name": "href",
|
|
@@ -1036,6 +1085,13 @@
|
|
|
1036
1085
|
"default": "false",
|
|
1037
1086
|
"fieldName": "disabled"
|
|
1038
1087
|
},
|
|
1088
|
+
{
|
|
1089
|
+
"name": "form",
|
|
1090
|
+
"type": {
|
|
1091
|
+
"text": "string"
|
|
1092
|
+
},
|
|
1093
|
+
"fieldName": "form"
|
|
1094
|
+
},
|
|
1039
1095
|
{
|
|
1040
1096
|
"name": "href",
|
|
1041
1097
|
"type": {
|
|
@@ -2938,6 +2994,17 @@
|
|
|
2938
2994
|
"name": "ariaDescribedBy",
|
|
2939
2995
|
"readonly": true
|
|
2940
2996
|
},
|
|
2997
|
+
{
|
|
2998
|
+
"kind": "field",
|
|
2999
|
+
"name": "direction",
|
|
3000
|
+
"privacy": "public",
|
|
3001
|
+
"type": {
|
|
3002
|
+
"text": "'vertical' | 'horizontal'"
|
|
3003
|
+
},
|
|
3004
|
+
"description": "Direction of the field. Generally want horizontal for checkboxes and radios.",
|
|
3005
|
+
"default": "\"vertical\"",
|
|
3006
|
+
"attribute": "direction"
|
|
3007
|
+
},
|
|
2941
3008
|
{
|
|
2942
3009
|
"kind": "field",
|
|
2943
3010
|
"name": "error",
|
|
@@ -2997,14 +3064,6 @@
|
|
|
2997
3064
|
"kind": "method",
|
|
2998
3065
|
"name": "helpTemplate"
|
|
2999
3066
|
},
|
|
3000
|
-
{
|
|
3001
|
-
"kind": "field",
|
|
3002
|
-
"name": "inlineInput",
|
|
3003
|
-
"type": {
|
|
3004
|
-
"text": "boolean"
|
|
3005
|
-
},
|
|
3006
|
-
"default": "false"
|
|
3007
|
-
},
|
|
3008
3067
|
{
|
|
3009
3068
|
"kind": "field",
|
|
3010
3069
|
"name": "label",
|
|
@@ -3013,10 +3072,20 @@
|
|
|
3013
3072
|
"text": "string"
|
|
3014
3073
|
},
|
|
3015
3074
|
"default": "\"\"",
|
|
3016
|
-
"attribute": "label"
|
|
3075
|
+
"attribute": "label",
|
|
3076
|
+
"reflects": true
|
|
3017
3077
|
}
|
|
3018
3078
|
],
|
|
3019
3079
|
"attributes": [
|
|
3080
|
+
{
|
|
3081
|
+
"name": "direction",
|
|
3082
|
+
"type": {
|
|
3083
|
+
"text": "'vertical' | 'horizontal'"
|
|
3084
|
+
},
|
|
3085
|
+
"description": "Direction of the field. Generally want horizontal for checkboxes and radios.",
|
|
3086
|
+
"default": "\"vertical\"",
|
|
3087
|
+
"fieldName": "direction"
|
|
3088
|
+
},
|
|
3020
3089
|
{
|
|
3021
3090
|
"name": "error",
|
|
3022
3091
|
"type": {
|
|
@@ -3910,7 +3979,11 @@
|
|
|
3910
3979
|
},
|
|
3911
3980
|
{
|
|
3912
3981
|
"kind": "field",
|
|
3913
|
-
"name": "_darkQuery"
|
|
3982
|
+
"name": "_darkQuery",
|
|
3983
|
+
"type": {
|
|
3984
|
+
"text": "null"
|
|
3985
|
+
},
|
|
3986
|
+
"default": "null"
|
|
3914
3987
|
},
|
|
3915
3988
|
{
|
|
3916
3989
|
"kind": "field",
|
|
@@ -4850,6 +4923,198 @@
|
|
|
4850
4923
|
}
|
|
4851
4924
|
]
|
|
4852
4925
|
},
|
|
4926
|
+
{
|
|
4927
|
+
"kind": "javascript-module",
|
|
4928
|
+
"path": "src/components/person/index.js",
|
|
4929
|
+
"declarations": [],
|
|
4930
|
+
"exports": [
|
|
4931
|
+
{
|
|
4932
|
+
"kind": "js",
|
|
4933
|
+
"name": "*",
|
|
4934
|
+
"declaration": {
|
|
4935
|
+
"name": "*",
|
|
4936
|
+
"module": "src/components/person/person.js"
|
|
4937
|
+
}
|
|
4938
|
+
}
|
|
4939
|
+
]
|
|
4940
|
+
},
|
|
4941
|
+
{
|
|
4942
|
+
"kind": "javascript-module",
|
|
4943
|
+
"path": "src/components/person/person.component.js",
|
|
4944
|
+
"declarations": [
|
|
4945
|
+
{
|
|
4946
|
+
"kind": "class",
|
|
4947
|
+
"description": "",
|
|
4948
|
+
"name": "GrantCodesPerson",
|
|
4949
|
+
"members": [
|
|
4950
|
+
{
|
|
4951
|
+
"kind": "field",
|
|
4952
|
+
"name": "alt",
|
|
4953
|
+
"privacy": "public",
|
|
4954
|
+
"type": {
|
|
4955
|
+
"text": "string"
|
|
4956
|
+
},
|
|
4957
|
+
"default": "\"\"",
|
|
4958
|
+
"attribute": "alt"
|
|
4959
|
+
},
|
|
4960
|
+
{
|
|
4961
|
+
"kind": "field",
|
|
4962
|
+
"name": "avatar",
|
|
4963
|
+
"privacy": "public",
|
|
4964
|
+
"type": {
|
|
4965
|
+
"text": "string"
|
|
4966
|
+
},
|
|
4967
|
+
"default": "\"\"",
|
|
4968
|
+
"attribute": "avatar"
|
|
4969
|
+
},
|
|
4970
|
+
{
|
|
4971
|
+
"kind": "field",
|
|
4972
|
+
"name": "company",
|
|
4973
|
+
"privacy": "public",
|
|
4974
|
+
"type": {
|
|
4975
|
+
"text": "string"
|
|
4976
|
+
},
|
|
4977
|
+
"default": "\"\"",
|
|
4978
|
+
"attribute": "company"
|
|
4979
|
+
},
|
|
4980
|
+
{
|
|
4981
|
+
"kind": "field",
|
|
4982
|
+
"name": "meta",
|
|
4983
|
+
"readonly": true
|
|
4984
|
+
},
|
|
4985
|
+
{
|
|
4986
|
+
"kind": "field",
|
|
4987
|
+
"name": "name",
|
|
4988
|
+
"privacy": "public",
|
|
4989
|
+
"type": {
|
|
4990
|
+
"text": "string"
|
|
4991
|
+
},
|
|
4992
|
+
"default": "\"\"",
|
|
4993
|
+
"attribute": "name"
|
|
4994
|
+
},
|
|
4995
|
+
{
|
|
4996
|
+
"kind": "field",
|
|
4997
|
+
"name": "role",
|
|
4998
|
+
"privacy": "public",
|
|
4999
|
+
"type": {
|
|
5000
|
+
"text": "string"
|
|
5001
|
+
},
|
|
5002
|
+
"default": "\"\"",
|
|
5003
|
+
"attribute": "role"
|
|
5004
|
+
},
|
|
5005
|
+
{
|
|
5006
|
+
"kind": "field",
|
|
5007
|
+
"name": "size",
|
|
5008
|
+
"privacy": "public",
|
|
5009
|
+
"type": {
|
|
5010
|
+
"text": "string"
|
|
5011
|
+
},
|
|
5012
|
+
"default": "\"medium\"",
|
|
5013
|
+
"attribute": "size"
|
|
5014
|
+
}
|
|
5015
|
+
],
|
|
5016
|
+
"attributes": [
|
|
5017
|
+
{
|
|
5018
|
+
"name": "alt",
|
|
5019
|
+
"type": {
|
|
5020
|
+
"text": "string"
|
|
5021
|
+
},
|
|
5022
|
+
"default": "\"\"",
|
|
5023
|
+
"fieldName": "alt"
|
|
5024
|
+
},
|
|
5025
|
+
{
|
|
5026
|
+
"name": "avatar",
|
|
5027
|
+
"type": {
|
|
5028
|
+
"text": "string"
|
|
5029
|
+
},
|
|
5030
|
+
"default": "\"\"",
|
|
5031
|
+
"fieldName": "avatar"
|
|
5032
|
+
},
|
|
5033
|
+
{
|
|
5034
|
+
"name": "company",
|
|
5035
|
+
"type": {
|
|
5036
|
+
"text": "string"
|
|
5037
|
+
},
|
|
5038
|
+
"default": "\"\"",
|
|
5039
|
+
"fieldName": "company"
|
|
5040
|
+
},
|
|
5041
|
+
{
|
|
5042
|
+
"name": "name",
|
|
5043
|
+
"type": {
|
|
5044
|
+
"text": "string"
|
|
5045
|
+
},
|
|
5046
|
+
"default": "\"\"",
|
|
5047
|
+
"fieldName": "name"
|
|
5048
|
+
},
|
|
5049
|
+
{
|
|
5050
|
+
"name": "role",
|
|
5051
|
+
"type": {
|
|
5052
|
+
"text": "string"
|
|
5053
|
+
},
|
|
5054
|
+
"default": "\"\"",
|
|
5055
|
+
"fieldName": "role"
|
|
5056
|
+
},
|
|
5057
|
+
{
|
|
5058
|
+
"name": "size",
|
|
5059
|
+
"type": {
|
|
5060
|
+
"text": "string"
|
|
5061
|
+
},
|
|
5062
|
+
"default": "\"medium\"",
|
|
5063
|
+
"fieldName": "size"
|
|
5064
|
+
}
|
|
5065
|
+
],
|
|
5066
|
+
"superclass": {
|
|
5067
|
+
"name": "LitElement",
|
|
5068
|
+
"package": "lit"
|
|
5069
|
+
},
|
|
5070
|
+
"tagName": "grantcodes-person",
|
|
5071
|
+
"customElement": true,
|
|
5072
|
+
"modulePath": "src/components/person/person.component.js",
|
|
5073
|
+
"definitionPath": "src/components/person/person.js"
|
|
5074
|
+
}
|
|
5075
|
+
],
|
|
5076
|
+
"exports": [
|
|
5077
|
+
{
|
|
5078
|
+
"kind": "js",
|
|
5079
|
+
"name": "GrantCodesPerson",
|
|
5080
|
+
"declaration": {
|
|
5081
|
+
"name": "GrantCodesPerson",
|
|
5082
|
+
"module": "src/components/person/person.component.js"
|
|
5083
|
+
}
|
|
5084
|
+
}
|
|
5085
|
+
]
|
|
5086
|
+
},
|
|
5087
|
+
{
|
|
5088
|
+
"kind": "javascript-module",
|
|
5089
|
+
"path": "src/components/person/person.js",
|
|
5090
|
+
"declarations": [],
|
|
5091
|
+
"exports": [
|
|
5092
|
+
{
|
|
5093
|
+
"kind": "js",
|
|
5094
|
+
"name": "*",
|
|
5095
|
+
"declaration": {
|
|
5096
|
+
"name": "*",
|
|
5097
|
+
"module": "src/components/person/person.component.js"
|
|
5098
|
+
}
|
|
5099
|
+
},
|
|
5100
|
+
{
|
|
5101
|
+
"kind": "js",
|
|
5102
|
+
"name": "default",
|
|
5103
|
+
"declaration": {
|
|
5104
|
+
"name": "GrantCodesPerson",
|
|
5105
|
+
"module": "src/components/person/person.js"
|
|
5106
|
+
}
|
|
5107
|
+
},
|
|
5108
|
+
{
|
|
5109
|
+
"kind": "custom-element-definition",
|
|
5110
|
+
"name": "grantcodes-person",
|
|
5111
|
+
"declaration": {
|
|
5112
|
+
"name": "GrantCodesPerson",
|
|
5113
|
+
"module": "/src/components/person/person.component.js"
|
|
5114
|
+
}
|
|
5115
|
+
}
|
|
5116
|
+
]
|
|
5117
|
+
},
|
|
4853
5118
|
{
|
|
4854
5119
|
"kind": "javascript-module",
|
|
4855
5120
|
"path": "src/components/pricing/index.js",
|
|
@@ -5592,12 +5857,7 @@
|
|
|
5592
5857
|
}
|
|
5593
5858
|
],
|
|
5594
5859
|
"modulePath": "src/components/tabs/internal/tabs-button.component.js",
|
|
5595
|
-
"definitionPath": "src/components/tabs/internal/tabs-button.js"
|
|
5596
|
-
"cssProperties": [],
|
|
5597
|
-
"cssParts": [],
|
|
5598
|
-
"cssStates": [],
|
|
5599
|
-
"events": [],
|
|
5600
|
-
"slots": []
|
|
5860
|
+
"definitionPath": "src/components/tabs/internal/tabs-button.js"
|
|
5601
5861
|
}
|
|
5602
5862
|
],
|
|
5603
5863
|
"exports": [
|
|
@@ -5645,160 +5905,8 @@
|
|
|
5645
5905
|
{
|
|
5646
5906
|
"kind": "javascript-module",
|
|
5647
5907
|
"path": "src/components/tabs/internal/tabs-item.component.js",
|
|
5648
|
-
"declarations": [
|
|
5649
|
-
|
|
5650
|
-
"kind": "class",
|
|
5651
|
-
"description": "",
|
|
5652
|
-
"name": "GrantCodesTabsItem",
|
|
5653
|
-
"members": [
|
|
5654
|
-
{
|
|
5655
|
-
"kind": "field",
|
|
5656
|
-
"name": "active",
|
|
5657
|
-
"privacy": "public",
|
|
5658
|
-
"type": {
|
|
5659
|
-
"text": "boolean"
|
|
5660
|
-
},
|
|
5661
|
-
"default": "false",
|
|
5662
|
-
"attribute": "active"
|
|
5663
|
-
},
|
|
5664
|
-
{
|
|
5665
|
-
"kind": "field",
|
|
5666
|
-
"name": "buttonId",
|
|
5667
|
-
"privacy": "public",
|
|
5668
|
-
"type": {
|
|
5669
|
-
"text": "string"
|
|
5670
|
-
},
|
|
5671
|
-
"readonly": true,
|
|
5672
|
-
"attribute": "buttonId",
|
|
5673
|
-
"reflects": true
|
|
5674
|
-
},
|
|
5675
|
-
{
|
|
5676
|
-
"kind": "field",
|
|
5677
|
-
"name": "containerId",
|
|
5678
|
-
"privacy": "public",
|
|
5679
|
-
"type": {
|
|
5680
|
-
"text": "string"
|
|
5681
|
-
},
|
|
5682
|
-
"default": "\"\"",
|
|
5683
|
-
"attribute": "containerId"
|
|
5684
|
-
},
|
|
5685
|
-
{
|
|
5686
|
-
"kind": "field",
|
|
5687
|
-
"name": "content",
|
|
5688
|
-
"privacy": "public",
|
|
5689
|
-
"type": {
|
|
5690
|
-
"text": "string"
|
|
5691
|
-
},
|
|
5692
|
-
"readonly": true,
|
|
5693
|
-
"attribute": "content"
|
|
5694
|
-
},
|
|
5695
|
-
{
|
|
5696
|
-
"kind": "field",
|
|
5697
|
-
"name": "index",
|
|
5698
|
-
"privacy": "public",
|
|
5699
|
-
"type": {
|
|
5700
|
-
"text": "number"
|
|
5701
|
-
},
|
|
5702
|
-
"default": "-1",
|
|
5703
|
-
"attribute": "index"
|
|
5704
|
-
},
|
|
5705
|
-
{
|
|
5706
|
-
"kind": "field",
|
|
5707
|
-
"name": "label",
|
|
5708
|
-
"privacy": "public",
|
|
5709
|
-
"type": {
|
|
5710
|
-
"text": "string"
|
|
5711
|
-
},
|
|
5712
|
-
"default": "\"\"",
|
|
5713
|
-
"attribute": "label"
|
|
5714
|
-
},
|
|
5715
|
-
{
|
|
5716
|
-
"kind": "field",
|
|
5717
|
-
"name": "panelId",
|
|
5718
|
-
"privacy": "public",
|
|
5719
|
-
"type": {
|
|
5720
|
-
"text": "string"
|
|
5721
|
-
},
|
|
5722
|
-
"readonly": true,
|
|
5723
|
-
"attribute": "panelId"
|
|
5724
|
-
}
|
|
5725
|
-
],
|
|
5726
|
-
"attributes": [
|
|
5727
|
-
{
|
|
5728
|
-
"name": "active",
|
|
5729
|
-
"type": {
|
|
5730
|
-
"text": "boolean"
|
|
5731
|
-
},
|
|
5732
|
-
"default": "false",
|
|
5733
|
-
"fieldName": "active"
|
|
5734
|
-
},
|
|
5735
|
-
{
|
|
5736
|
-
"name": "buttonId",
|
|
5737
|
-
"type": {
|
|
5738
|
-
"text": "string"
|
|
5739
|
-
},
|
|
5740
|
-
"readonly": true,
|
|
5741
|
-
"fieldName": "buttonId"
|
|
5742
|
-
},
|
|
5743
|
-
{
|
|
5744
|
-
"name": "containerId",
|
|
5745
|
-
"type": {
|
|
5746
|
-
"text": "string"
|
|
5747
|
-
},
|
|
5748
|
-
"default": "\"\"",
|
|
5749
|
-
"fieldName": "containerId"
|
|
5750
|
-
},
|
|
5751
|
-
{
|
|
5752
|
-
"name": "content",
|
|
5753
|
-
"type": {
|
|
5754
|
-
"text": "string"
|
|
5755
|
-
},
|
|
5756
|
-
"readonly": true,
|
|
5757
|
-
"fieldName": "content"
|
|
5758
|
-
},
|
|
5759
|
-
{
|
|
5760
|
-
"name": "index",
|
|
5761
|
-
"type": {
|
|
5762
|
-
"text": "number"
|
|
5763
|
-
},
|
|
5764
|
-
"default": "-1",
|
|
5765
|
-
"fieldName": "index"
|
|
5766
|
-
},
|
|
5767
|
-
{
|
|
5768
|
-
"name": "label",
|
|
5769
|
-
"type": {
|
|
5770
|
-
"text": "string"
|
|
5771
|
-
},
|
|
5772
|
-
"default": "\"\"",
|
|
5773
|
-
"fieldName": "label"
|
|
5774
|
-
},
|
|
5775
|
-
{
|
|
5776
|
-
"name": "panelId",
|
|
5777
|
-
"type": {
|
|
5778
|
-
"text": "string"
|
|
5779
|
-
},
|
|
5780
|
-
"readonly": true,
|
|
5781
|
-
"fieldName": "panelId"
|
|
5782
|
-
}
|
|
5783
|
-
],
|
|
5784
|
-
"superclass": {
|
|
5785
|
-
"name": "LitElement",
|
|
5786
|
-
"package": "lit"
|
|
5787
|
-
},
|
|
5788
|
-
"customElement": true,
|
|
5789
|
-
"modulePath": "src/components/tabs/internal/tabs-item.component.js"
|
|
5790
|
-
}
|
|
5791
|
-
],
|
|
5792
|
-
"exports": [
|
|
5793
|
-
{
|
|
5794
|
-
"kind": "js",
|
|
5795
|
-
"name": "GrantCodesTabsItem",
|
|
5796
|
-
"declaration": {
|
|
5797
|
-
"name": "GrantCodesTabsItem",
|
|
5798
|
-
"module": "src/components/tabs/internal/tabs-item.component.js"
|
|
5799
|
-
}
|
|
5800
|
-
}
|
|
5801
|
-
]
|
|
5908
|
+
"declarations": [],
|
|
5909
|
+
"exports": []
|
|
5802
5910
|
},
|
|
5803
5911
|
{
|
|
5804
5912
|
"kind": "javascript-module",
|
|
@@ -6002,12 +6110,7 @@
|
|
|
6002
6110
|
}
|
|
6003
6111
|
],
|
|
6004
6112
|
"modulePath": "src/components/tabs/tab.component.js",
|
|
6005
|
-
"definitionPath": "src/components/tabs/tab.js"
|
|
6006
|
-
"cssProperties": [],
|
|
6007
|
-
"cssParts": [],
|
|
6008
|
-
"cssStates": [],
|
|
6009
|
-
"events": [],
|
|
6010
|
-
"slots": []
|
|
6113
|
+
"definitionPath": "src/components/tabs/tab.js"
|
|
6011
6114
|
}
|
|
6012
6115
|
],
|
|
6013
6116
|
"exports": [
|
|
@@ -6148,6 +6251,14 @@
|
|
|
6148
6251
|
}
|
|
6149
6252
|
],
|
|
6150
6253
|
"exports": [
|
|
6254
|
+
{
|
|
6255
|
+
"kind": "js",
|
|
6256
|
+
"name": "GrantCodesTab",
|
|
6257
|
+
"declaration": {
|
|
6258
|
+
"name": "GrantCodesTab",
|
|
6259
|
+
"module": "src/components/tabs/tabs.component.js"
|
|
6260
|
+
}
|
|
6261
|
+
},
|
|
6151
6262
|
{
|
|
6152
6263
|
"kind": "js",
|
|
6153
6264
|
"name": "GrantCodesTabs",
|
|
@@ -6155,6 +6266,14 @@
|
|
|
6155
6266
|
"name": "GrantCodesTabs",
|
|
6156
6267
|
"module": "src/components/tabs/tabs.component.js"
|
|
6157
6268
|
}
|
|
6269
|
+
},
|
|
6270
|
+
{
|
|
6271
|
+
"kind": "js",
|
|
6272
|
+
"name": "GrantCodesTabsButton",
|
|
6273
|
+
"declaration": {
|
|
6274
|
+
"name": "GrantCodesTabsButton",
|
|
6275
|
+
"module": "src/components/tabs/tabs.component.js"
|
|
6276
|
+
}
|
|
6158
6277
|
}
|
|
6159
6278
|
]
|
|
6160
6279
|
},
|
package/package.json
CHANGED
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grantcodes/ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.15.5",
|
|
4
4
|
"description": "A personal component system built with Lit web components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/main.js",
|
|
7
7
|
"module": "src/main.js",
|
|
8
8
|
"types": "src/types.d.ts",
|
|
9
9
|
"author": "grantcodes",
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/grantcodes/ui.git"
|
|
13
|
+
},
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/grantcodes/ui/issues"
|
|
16
|
+
},
|
|
17
|
+
"homepage": "https://github.com/grantcodes/ui#readme",
|
|
10
18
|
"exports": {
|
|
11
19
|
".": {
|
|
12
20
|
"types": "./src/types.d.ts",
|
|
@@ -44,7 +52,7 @@
|
|
|
44
52
|
"@lit/react": "^1.0.8",
|
|
45
53
|
"lit": "^3.3.1",
|
|
46
54
|
"shiki": "^3.17.1",
|
|
47
|
-
"@grantcodes/style-dictionary": "^1.
|
|
55
|
+
"@grantcodes/style-dictionary": "^1.10.2"
|
|
48
56
|
},
|
|
49
57
|
"devDependencies": {
|
|
50
58
|
"@arcmantle/vite-plugin-import-css-sheet": "^1.0.12",
|
|
@@ -92,7 +100,7 @@
|
|
|
92
100
|
"watch": "vite build --watch",
|
|
93
101
|
"storybook": "storybook dev -p 6006",
|
|
94
102
|
"build-storybook": "storybook build",
|
|
95
|
-
"build": "
|
|
103
|
+
"build": "run-s cem build-storybook",
|
|
96
104
|
"generate": "plop",
|
|
97
105
|
"cem": "cem analyze --config custom-elements-manifest.config.js --litelement",
|
|
98
106
|
"fix": "run-s fix:lint",
|