@polyxd/ds-carbon 0.1.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/LICENSE +202 -0
- package/NOTICE +177 -0
- package/README.md +129 -0
- package/manifest.json +77 -0
- package/package.json +30 -0
- package/scripts/sources/carbon/LICENSE +201 -0
- package/tokens/primitive.json +3068 -0
- package/tokens/semantic.json +389 -0
- package/tokens/system.dark.json +634 -0
- package/tokens/system.json +385 -0
- package/tokens/system.light.json +613 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
202
|
+
|
package/NOTICE
ADDED
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
Polyxd
|
|
2
|
+
Copyright 2026 the Polyxd authors
|
|
3
|
+
|
|
4
|
+
This product includes software developed at Polyxd, licensed under the Apache
|
|
5
|
+
License, Version 2.0 (see LICENSE).
|
|
6
|
+
|
|
7
|
+
It also includes material from the projects below. Each is used under its own
|
|
8
|
+
licence, and each licence is included in full beside the material it covers.
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## Design-system packs
|
|
12
|
+
|
|
13
|
+
A pack reads a design system's published tokens and maps them onto Polyxd's
|
|
14
|
+
semantic token contract. The upstream token files are vendored verbatim — so a
|
|
15
|
+
pack can be regenerated and audited without a network — under that pack's
|
|
16
|
+
`scripts/sources/` directory, together with the upstream licence.
|
|
17
|
+
|
|
18
|
+
The packs are Polyxd's work, not the work of the design systems they read. The
|
|
19
|
+
names below identify whose tokens a pack reads. Polyxd is not affiliated with,
|
|
20
|
+
endorsed by, or sponsored by any of these projects or their owners, and each
|
|
21
|
+
name is the trademark of its owner.
|
|
22
|
+
|
|
23
|
+
### Ant Design (`@polyxd/ds-antd`)
|
|
24
|
+
|
|
25
|
+
Upstream: https://github.com/ant-design/ant-design
|
|
26
|
+
|
|
27
|
+
- npm:antd 6.6.4 — MIT
|
|
28
|
+
- npm:@ant-design/colors 8.0.1 — MIT
|
|
29
|
+
|
|
30
|
+
Vendored under `packages/ds-antd/scripts/sources/`, with the upstream licence file beside it.
|
|
31
|
+
|
|
32
|
+
### Bootstrap 5 (`@polyxd/ds-bootstrap`)
|
|
33
|
+
|
|
34
|
+
Upstream: https://github.com/twbs/bootstrap
|
|
35
|
+
|
|
36
|
+
- npm:bootstrap dist/css/bootstrap.css 5.3.8 — MIT
|
|
37
|
+
|
|
38
|
+
Vendored under `packages/ds-bootstrap/scripts/sources/`, with the upstream licence file beside it.
|
|
39
|
+
|
|
40
|
+
### IBM Carbon (`@polyxd/ds-carbon`)
|
|
41
|
+
|
|
42
|
+
Upstream: https://github.com/carbon-design-system/carbon
|
|
43
|
+
|
|
44
|
+
- npm:@carbon/colors 11.58.0 — Apache-2.0
|
|
45
|
+
- npm:@carbon/themes 11.81.0 — Apache-2.0
|
|
46
|
+
- npm:@carbon/layout 11.59.0 — Apache-2.0
|
|
47
|
+
- npm:@carbon/type 11.67.0 — Apache-2.0
|
|
48
|
+
- npm:@carbon/motion 11.52.0 — Apache-2.0
|
|
49
|
+
- npm:@carbon/charts scss/_color-palette.scss 1.27.20 — Apache-2.0
|
|
50
|
+
- npm:@carbon/styles scss/utilities/_box-shadow.scss and _focus-outline.scss 1.115.0 — Apache-2.0
|
|
51
|
+
|
|
52
|
+
Vendored under `packages/ds-carbon/scripts/sources/`, with the upstream licence file beside it.
|
|
53
|
+
|
|
54
|
+
### Chakra UI 3 (`@polyxd/ds-chakra`)
|
|
55
|
+
|
|
56
|
+
Upstream: https://github.com/chakra-ui/chakra-ui
|
|
57
|
+
|
|
58
|
+
- npm:@chakra-ui/react defaultSystem.getTokenCss 3.37.0 — MIT
|
|
59
|
+
|
|
60
|
+
Vendored under `packages/ds-chakra/scripts/sources/`, with the upstream licence file beside it.
|
|
61
|
+
|
|
62
|
+
### Microsoft Fluent 2 (`@polyxd/ds-fluent`)
|
|
63
|
+
|
|
64
|
+
Upstream: https://github.com/microsoft/fluentui
|
|
65
|
+
|
|
66
|
+
- npm:@fluentui/tokens 1.0.0-alpha.24 — MIT
|
|
67
|
+
|
|
68
|
+
Vendored under `packages/ds-fluent/scripts/sources/`, with the upstream licence file beside it.
|
|
69
|
+
|
|
70
|
+
### GOV.UK Frontend (`@polyxd/ds-govuk`)
|
|
71
|
+
|
|
72
|
+
Upstream: https://github.com/alphagov/govuk-frontend
|
|
73
|
+
|
|
74
|
+
- npm:govuk-frontend dist/govuk/settings 6.5.1 — MIT
|
|
75
|
+
|
|
76
|
+
Vendored under `packages/ds-govuk/scripts/sources/`, with the upstream licence file beside it.
|
|
77
|
+
|
|
78
|
+
### Mantine 8 (`@polyxd/ds-mantine`)
|
|
79
|
+
|
|
80
|
+
Upstream: https://github.com/mantinedev/mantine
|
|
81
|
+
|
|
82
|
+
- npm:@mantine/core styles.css 8.4.2 — MIT
|
|
83
|
+
|
|
84
|
+
Vendored under `packages/ds-mantine/scripts/sources/`, with the upstream licence file beside it.
|
|
85
|
+
|
|
86
|
+
### Material 3 (`@polyxd/ds-material3`)
|
|
87
|
+
|
|
88
|
+
Upstream: https://github.com/material-components/material-web
|
|
89
|
+
|
|
90
|
+
- npm:@material/material-color-utilities 0.4.0 — Apache-2.0
|
|
91
|
+
- github:material-components/material-web tokens/versions/v0_192/_md-ref-typeface.scss, _md-sys-typescale.scss, _md-sys-shape.scss, _md-sys-motion.scss, _md-sys-state.scss, _md-sys-elevation.scss v2.5.0 (commit b4de401eb665ec63474f39319a4ba8f2145974cc) — Apache-2.0
|
|
92
|
+
- github:material-components/material-web tokens/versions/v0_192/_md-comp-scrim.scss, _md-comp-filled-button.scss, _md-comp-icon-button.scss, _md-comp-outlined-text-field.scss v2.5.0 (commit b4de401eb665ec63474f39319a4ba8f2145974cc) — Apache-2.0
|
|
93
|
+
- github:material-components/material-web tokens/_md-comp-focus-ring.scss and elevation/internal/_elevation.scss v2.5.0 (commit b4de401eb665ec63474f39319a4ba8f2145974cc) — Apache-2.0
|
|
94
|
+
|
|
95
|
+
Vendored under `packages/ds-material3/scripts/sources/`, with the upstream licence file beside it.
|
|
96
|
+
|
|
97
|
+
### Shopify Polaris (`@polyxd/ds-polaris`)
|
|
98
|
+
|
|
99
|
+
Upstream: https://github.com/Shopify/polaris
|
|
100
|
+
|
|
101
|
+
- npm:@shopify/polaris-tokens dist/css/styles.css 9.4.2 — MIT
|
|
102
|
+
|
|
103
|
+
Vendored under `packages/ds-polaris/scripts/sources/`, with the upstream licence file beside it.
|
|
104
|
+
|
|
105
|
+
### GitHub Primer (`@polyxd/ds-primer`)
|
|
106
|
+
|
|
107
|
+
Upstream: https://github.com/primer/primitives
|
|
108
|
+
|
|
109
|
+
- npm:@primer/primitives dist/css 11.10.0 — MIT
|
|
110
|
+
|
|
111
|
+
Vendored under `packages/ds-primer/scripts/sources/`, with the upstream licence file beside it.
|
|
112
|
+
|
|
113
|
+
### Radix Themes 3 (`@polyxd/ds-radix`)
|
|
114
|
+
|
|
115
|
+
Upstream: https://github.com/radix-ui/themes
|
|
116
|
+
|
|
117
|
+
- npm:@radix-ui/themes styles.css 3.3.0 — MIT
|
|
118
|
+
|
|
119
|
+
Vendored under `packages/ds-radix/scripts/sources/`, with the upstream licence file beside it.
|
|
120
|
+
|
|
121
|
+
### shadcn/ui on Tailwind CSS (`@polyxd/ds-shadcn`)
|
|
122
|
+
|
|
123
|
+
Upstream: https://github.com/shadcn-ui/ui
|
|
124
|
+
|
|
125
|
+
- shadcn/ui default theme main @ 2026-09-20 — MIT
|
|
126
|
+
- npm:tailwindcss theme.css 4.3.3 — MIT
|
|
127
|
+
|
|
128
|
+
Vendored under `packages/ds-shadcn/scripts/sources/`, with the upstream licence file beside it.
|
|
129
|
+
|
|
130
|
+
### Adobe Spectrum 2 (`@polyxd/ds-spectrum`)
|
|
131
|
+
|
|
132
|
+
Upstream: https://github.com/adobe/spectrum-tokens
|
|
133
|
+
|
|
134
|
+
- npm:@adobe/spectrum-tokens dist/json/variables.json 15.4.1 — Apache-2.0
|
|
135
|
+
|
|
136
|
+
Vendored under `packages/ds-spectrum/scripts/sources/`, with the upstream licence file beside it.
|
|
137
|
+
|
|
138
|
+
## Specification
|
|
139
|
+
|
|
140
|
+
### A2UI
|
|
141
|
+
|
|
142
|
+
- `packages/a2ui/vendor/a2ui/v1_0-04e6f07/` — Apache-2.0
|
|
143
|
+
|
|
144
|
+
Vendored at a pinned commit so the component catalogue can be checked against
|
|
145
|
+
A2UI's schema without a network.
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
## Dependencies
|
|
149
|
+
|
|
150
|
+
Everything Polyxd depends on at runtime or to build is fetched from npm rather
|
|
151
|
+
than vendored, so the licences below are recorded rather than reproduced.
|
|
152
|
+
|
|
153
|
+
Apache-2.0: playwright
|
|
154
|
+
MIT: react, react-dom, radix-ui, ajv, ajv-formats, vite, @vitejs/plugin-react,
|
|
155
|
+
marked, lenis, @types/react, @types/react-dom
|
|
156
|
+
MIT OR Apache-2.0: wrangler, @cloudflare/workers-types
|
|
157
|
+
|
|
158
|
+
Two need a word.
|
|
159
|
+
|
|
160
|
+
**axe-core** (Mozilla Public License 2.0) runs inside the verifier's rendered
|
|
161
|
+
audit. MPL-2.0 is file-level copyleft: it attaches to modified MPL files, and
|
|
162
|
+
axe-core is used unmodified, as a library. No Polyxd file is covered by it.
|
|
163
|
+
|
|
164
|
+
**GSAP** (https://gsap.com/standard-license) drives the motion on polyxd.com
|
|
165
|
+
only, and is not an OSI-approved licence. It is not used by the spec, the
|
|
166
|
+
renderer, the packs or the verifier, none of which it can reach; and no GSAP
|
|
167
|
+
file is committed to this repository — the site's build copies them out of
|
|
168
|
+
node_modules into its own output. Anyone building the site is therefore subject
|
|
169
|
+
to GSAP's licence, and anyone using the rest of Polyxd is not.
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
## Fonts
|
|
173
|
+
|
|
174
|
+
No font files are distributed. polyxd.com loads its typefaces from Google Fonts
|
|
175
|
+
at request time, and a design-system pack names the typeface its system
|
|
176
|
+
specifies without shipping it — a pack that asks for Adobe Clean, for example,
|
|
177
|
+
names an open metric-compatible fallback for anyone who does not have it.
|
package/README.md
ADDED
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
# @polyxd/ds-carbon
|
|
2
|
+
|
|
3
|
+
The IBM Carbon design-system pack for Polyxd. It has DTCG 2025.10 token files that satisfy the Polyxd semantic token contract (`packages/spec/tokens/semantic-contract.json`, v0.1.0) in two modes: `light` is the Carbon **White** theme and `dark` is the Carbon **Gray 100** theme. The default mode is `light`.
|
|
4
|
+
|
|
5
|
+
```sh
|
|
6
|
+
npm run check -w @polyxd/ds-carbon # contract check, both modes
|
|
7
|
+
npm run generate -w @polyxd/ds-carbon # regenerate tokens/*.json from the vendored sources
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
## Tiers
|
|
11
|
+
|
|
12
|
+
Carbon's names are kept in Carbon's Sass spelling, so `$text-primary` becomes `carbon.theme.text-primary` and `$spacing-05` becomes `carbon.spacing.05`. You can trace every semantic token back to Carbon.
|
|
13
|
+
|
|
14
|
+
| Tier | File | Contents |
|
|
15
|
+
|---|---|---|
|
|
16
|
+
| Primitive | `tokens/primitive.json` | `carbon.color.<family>.<step>` (the full palette, including `white.0`, `black.100`, `cool-gray`, `warm-gray` and the `<step>-hover` colours), `carbon.type.font-family.*` (the IBM Plex stacks as arrays), `carbon.type.font-weight.{light,regular,semibold}`, `carbon.spacing.01..13`, `carbon.size.{xs,sm,md,lg,xl,2xl}`, `carbon.icon-size.01/02`, `carbon.border-radius.{00,02,04,08,16,24,max}`, `carbon.motion.duration.*` and `carbon.motion.easing.{standard,entrance,exit}.{productive,expressive}`. |
|
|
17
|
+
| System | `tokens/system.json` | Values that are the same in both modes: the productive type styles `carbon.type.body-01`, `body-02`, `body-compact-01/02`, `heading-01..07`, `heading-compact-01/02`, `label-01/02`, `helper-text-01/02`, `legal-01/02` and `code-01/02` as DTCG typography composites. Also `carbon.shadow.box-shadow` and `polyxd.shadow.flat`. |
|
|
18
|
+
| System, per mode | `tokens/system.light.json`, `tokens/system.dark.json` | `carbon.theme.*`: every core Carbon theme token (White or Gray 100), plus the button, notification and status component tokens (`carbon.theme.button-primary`, `notification-background-error`, `status-yellow-outline`, …). `carbon.data-viz.categorical.01..14` holds the Carbon Charts categorical palette. `polyxd.theme.*` holds the per-mode Polyxd additions: `warning-emphasis` (a contrast adjustment) and `opacity.{hover,pressed,focus,disabled}`. |
|
|
19
|
+
| Semantic | `tokens/semantic.json` | The 86 Polyxd contract tokens. Each one is an `{alias}` to a Carbon token, or to a `polyxd.*` token where Carbon has no equivalent or the value had to be adjusted. The file is the same in both modes. The aliases pick up whichever mode's system file is loaded. |
|
|
20
|
+
|
|
21
|
+
`manifest.json` merges the files for each mode in this order: primitive → system → system.<mode> → semantic.
|
|
22
|
+
|
|
23
|
+
When a theme colour is exactly a palette step, it is an alias to that step. For example, `carbon.theme.text-primary` is `{carbon.color.gray.100}` in light mode. The generator matches base steps before hover steps, and `gray` before `cool-gray`/`warm-gray`. The only colours written as literals are the alpha colours (`background-hover`, `overlay`, `shadow`, `text-disabled`, …), because an alias cannot add alpha, and `button-danger-hover` (`#b81921`, which is not a palette step). Each literal has a `$description` that names its source.
|
|
24
|
+
|
|
25
|
+
## Semantic mapping and judgement calls
|
|
26
|
+
|
|
27
|
+
- **Surfaces.** `default` is `$background`. `subtle` is `$layer-accent-01`, the data-table header layer. `raised` is `$layer-01` (tile). `overlay` is `$layer-01`, because Carbon puts modals, menus and popovers on `$layer` over `$background`. `inverse` is `$background-inverse`. `scrim` is `$overlay`, which is black at 0.6. In light mode, `surface.subtle` and `selection.background` are both gray 20, because `$layer-accent-01` and `$layer-selected-01` share that value in the White theme.
|
|
28
|
+
- **Text.** `default` is `$text-primary`, `muted` is `$text-secondary`, `inverse` is `$text-inverse` and `link` is `$link-primary`.
|
|
29
|
+
- **Borders.** `default` is `$border-subtle-01`, `strong` is `$border-strong-01` and `focus` is `$focus`.
|
|
30
|
+
- **Actions.**
|
|
31
|
+
- Primary uses `$button-primary` with `$text-on-color`.
|
|
32
|
+
- Secondary uses `$button-secondary` with `$text-on-color`. Carbon's secondary button has no border, so `action.secondary.border` is also `$button-secondary`, which makes the border invisible against the fill.
|
|
33
|
+
- Danger uses `$button-danger-primary` with `$text-on-color`.
|
|
34
|
+
- **Selection.** The background is `$layer-selected-01` (Carbon's selected row or item) and the foreground is `$text-primary`.
|
|
35
|
+
- **Status.**
|
|
36
|
+
- `background` is `$notification-background-{info,success,warning,error}`. These are the tinted 10-steps in White. In Gray 100 they are all gray 90, the same as the Carbon dark notification.
|
|
37
|
+
- `foreground` is `$text-primary`.
|
|
38
|
+
- `emphasis` is `$support-{info,success,warning,error}`. The exception is light-mode warning; see [Contrast](#contrast).
|
|
39
|
+
- **Data.**
|
|
40
|
+
- `categorical.1..6` are the first six colours of the Carbon Charts 14-colour categorical palette:
|
|
41
|
+
- Light: purple 70, cyan 50, teal 70, magenta 70, red 50, red 90.
|
|
42
|
+
- Dark: purple 60, cyan 40, teal 60, magenta 40, red 50, red 10.
|
|
43
|
+
- All 14 are in `carbon.data-viz.categorical.*`. Neither `@carbon/themes` nor `@carbon/colors` 11.x has data-visualization tokens, so the palette comes from `@carbon/charts`. Carbon Charts writes four of the entries as hex literals (yellow 50 and orange 70 in light, yellow 40 and orange 60 in dark). Each one matches a `@carbon/colors` step exactly, so those entries are aliases too.
|
|
44
|
+
- `positive` is `$support-success`, `negative` is `$support-error` and `neutral` is `$status-gray`.
|
|
45
|
+
- **Type.**
|
|
46
|
+
- Page title is `heading-05` (32px), section is `heading-03` (20px) and item is `heading-02` (16px semibold).
|
|
47
|
+
- **Body default is `body-02` (16px).** Carbon's default body style is `body-01` at 14px, but the contract requires `type.body.default` ≥ 16px. `body-01` is used for `type.body.small`.
|
|
48
|
+
- Label default is `label-02` (14px). It has the same metrics as `body-compact-01`, Carbon's button and control text. Label small is `label-01` (12px).
|
|
49
|
+
- Numeric display is `heading-06` (42px light).
|
|
50
|
+
- Every style uses IBM Plex Sans.
|
|
51
|
+
- **Space.** Every space token is on the 8px-based `$spacing` scale:
|
|
52
|
+
- Inset: 03 / 05 / 06 (8 / 16 / 24px).
|
|
53
|
+
- Stack: 03 / 05 / 07 / 09 (8 / 16 / 32 / 48px).
|
|
54
|
+
- Inline: 02 / 03 / 05 (4 / 8 / 16px).
|
|
55
|
+
- **Size.** `size.target.min` is `$size-lg`, 48px. Carbon's default control size (`md`) is 40px. 48px is Carbon's large size and meets the contract's 44–48px guidance. Icons are `$icon-size-01` (16px, small) and `$icon-size-02` (20px, default).
|
|
56
|
+
- **Radius.** `radius.small`, `default` and `large` are all `$border-radius-00` (0px), because Carbon components are square. `radius.full` is `$border-radius-max` (999999px), for pills and avatars. `@carbon/layout` also has 02–24 radii, but this pack does not use them.
|
|
57
|
+
- **Border widths.** 1px by default. 2px for the strong width, which Carbon uses for selected tiles, invalid fields and the focus outline.
|
|
58
|
+
- **Focus ring.** The width is 2px and the offset is **-2px**. This is Carbon's `focus-outline('outline')`: `outline: 2px solid $focus; outline-offset: -2px`. Carbon draws focus inside the element's edge, so the offset is negative rather than a gap.
|
|
59
|
+
- **Opacity.** Carbon has no opacity tokens. Its interaction fills are `$gray-50` with an alpha, so the state opacities are read from those alphas in each mode:
|
|
60
|
+
- `hover` is the alpha of `$background-hover`: 0.12 in light, 0.16 in dark.
|
|
61
|
+
- `pressed` is the alpha of `$background-active`: 0.5 in light, 0.4 in dark.
|
|
62
|
+
- `focus` reuses the hover alpha. Carbon shows focus with the `$focus` outline, not a fill.
|
|
63
|
+
- `disabled`: see [Contrast](#contrast).
|
|
64
|
+
- **Shadow.** `raised` is `polyxd.shadow.flat`, a zero-size transparent shadow, because Carbon tiles are flat and are told apart by layer colour. `overlay` is Carbon's `box-shadow` mixin, `0 2px 6px 0 $shadow`. `$shadow` is black at 0.3 in White and 0.8 in Gray 100.
|
|
65
|
+
- **Motion.** All values are productive:
|
|
66
|
+
- Durations: `fast-01` (70ms), `fast-02` (110ms), `moderate-02` (240ms) and `slow-01` (400ms).
|
|
67
|
+
- Easing: `standard` is standard-productive, `enter` is entrance-productive and `exit` is exit-productive.
|
|
68
|
+
- **Measure.** `measure.max` is 65 characters. This is a Polyxd value, because Carbon defines no measure token.
|
|
69
|
+
|
|
70
|
+
## Contrast
|
|
71
|
+
|
|
72
|
+
Two contract requirements fail when the natural Carbon tokens are used. Both are fixed in `polyxd.theme.*`, so the Carbon tokens themselves are not changed:
|
|
73
|
+
|
|
74
|
+
| Mode | Token | Natural Carbon value | Problem | Adjustment |
|
|
75
|
+
|---|---|---|---|---|
|
|
76
|
+
| light | `color.status.warning.emphasis` | `$support-warning` = yellow 30 `#f1c21b` | 1.68:1 on `$background` (white); the minimum is 3:1 (WCAG 1.4.11) | `$status-yellow-outline` = yellow 60 `#8e6a00`, **4.99:1**. This is the Carbon status token for outlining yellow status shapes on light themes. Dark mode keeps `$support-warning` (10.75:1 on gray 100). |
|
|
77
|
+
| both | `opacity.state.disabled` | 0.25 (the alpha of `$text-disabled` / `$icon-disabled`) | Below the contract range of 0.3–0.6 | Raised to **0.3**. No Carbon opacity token of 0.3 or more fits disabled content. |
|
|
78
|
+
|
|
79
|
+
Every other pair passes with the unadjusted Carbon tokens. These pairs are closest to their minimum:
|
|
80
|
+
|
|
81
|
+
- **Light:** `border.strong` (gray 50) on white is 3.32:1. `data.categorical.2` (cyan 50) is 3.33:1. `status.success.emphasis` / `data.positive` (green 50) and `data.categorical.5` (red 50) are 3.35:1.
|
|
82
|
+
- **Dark:** `border.strong` (gray 60) on gray 100 is 3.60:1. `data.categorical.1` (purple 60) and `action.danger.background` are 3.62:1. Button text on the primary and danger buttons is 5.00:1, and on the secondary button 5.02:1.
|
|
83
|
+
|
|
84
|
+
## Regenerating
|
|
85
|
+
|
|
86
|
+
`scripts/generate.ts` writes all five token files and gives the same output on every run. It has no dependencies and runs offline from the data vendored in `scripts/sources/carbon/`:
|
|
87
|
+
|
|
88
|
+
| File | From |
|
|
89
|
+
|---|---|
|
|
90
|
+
| `colors.json` | `@carbon/colors` 11.58.0: the `colors` and `hoverColors` exports |
|
|
91
|
+
| `themes.json` | `@carbon/themes` 11.81.0: the `white` and `g100` exports (without the ai/chat/syntax tokens), plus `buttonTokens`, `notificationTokens` and `statusTokens` |
|
|
92
|
+
| `layout.json` | `@carbon/layout` 11.59.0: `spacing`, the sizes, `iconSize`, `borderRadius` and `baseFontSize` |
|
|
93
|
+
| `type.json` | `@carbon/type` 11.67.0: `fontFamilies`, `fontWeights` and the type styles used |
|
|
94
|
+
| `motion.json` | `@carbon/motion` 11.52.0: `easings` and the six durations |
|
|
95
|
+
| `charts.json` | `@carbon/charts` 1.27.20: the `scss/_color-palette.scss` 14-colour categorical sequences |
|
|
96
|
+
| `LICENSE` | The Apache-2.0 license shipped with the Carbon packages |
|
|
97
|
+
|
|
98
|
+
Each JSON file has a `$source` field that records the package, the exact version, the license and what was extracted. The generator fails if a vendored version does not match the pinned version.
|
|
99
|
+
|
|
100
|
+
To refresh the vendored data, install the pinned packages **outside the monorepo** and pass their `node_modules` directory:
|
|
101
|
+
|
|
102
|
+
```sh
|
|
103
|
+
cd "$(mktemp -d)" && npm init -y >/dev/null && npm install --ignore-scripts \
|
|
104
|
+
@carbon/colors@11.58.0 @carbon/themes@11.81.0 @carbon/layout@11.59.0 \
|
|
105
|
+
@carbon/type@11.67.0 @carbon/motion@11.52.0 @carbon/charts@1.27.20
|
|
106
|
+
node /path/to/packages/ds-carbon/scripts/generate.ts --refresh "$PWD/node_modules"
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
Some values come from Sass mixins, so they are transcribed as constants in `generate.ts` rather than vendored. Both are from `@carbon/styles` 1.115.0: the `box-shadow` mixin (`0 2px 6px $shadow`) and `focus-outline('outline')` (2px, offset -2px).
|
|
110
|
+
|
|
111
|
+
`@carbon/themes` 11.81.0 also includes `src/dtcg/*.json`, but this pack does not use them. `g100.json` is missing several tokens that `white.json` has, such as `background-inverse`, and it nests names differently. This pack uses the built JS theme objects, which are the values Carbon's Sass and React packages ship.
|
|
112
|
+
|
|
113
|
+
Do not edit the token files by hand.
|
|
114
|
+
|
|
115
|
+
## Provenance
|
|
116
|
+
|
|
117
|
+
`manifest.json` → `provenance` has the full list. In short:
|
|
118
|
+
|
|
119
|
+
| Source | Version | License | Used for |
|
|
120
|
+
|---|---|---|---|
|
|
121
|
+
| [`@carbon/colors`](https://github.com/carbon-design-system/carbon/tree/main/packages/colors) | 11.58.0 | Apache-2.0 | Palette and hover colours |
|
|
122
|
+
| [`@carbon/themes`](https://github.com/carbon-design-system/carbon/tree/main/packages/themes) | 11.81.0 | Apache-2.0 | White and Gray 100 theme tokens; button, notification and status component tokens |
|
|
123
|
+
| [`@carbon/layout`](https://github.com/carbon-design-system/carbon/tree/main/packages/layout) | 11.59.0 | Apache-2.0 | Spacing, sizes, icon sizes, border radius |
|
|
124
|
+
| [`@carbon/type`](https://github.com/carbon-design-system/carbon/tree/main/packages/type) | 11.67.0 | Apache-2.0 | IBM Plex families, weights, type styles |
|
|
125
|
+
| [`@carbon/motion`](https://github.com/carbon-design-system/carbon/tree/main/packages/motion) | 11.52.0 | Apache-2.0 | Durations, easings |
|
|
126
|
+
| [`@carbon/charts`](https://github.com/carbon-design-system/carbon-charts) | 1.27.20 | Apache-2.0 | Categorical data-visualization palette |
|
|
127
|
+
| [`@carbon/styles`](https://github.com/carbon-design-system/carbon/tree/main/packages/styles) | 1.115.0 | Apache-2.0 | Box-shadow and focus-outline geometry (transcribed) |
|
|
128
|
+
|
|
129
|
+
None of the values are scraped from carbondesignsystem.com.
|
package/manifest.json
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../spec/schema/design-system.schema.json",
|
|
3
|
+
"name": "carbon",
|
|
4
|
+
"displayName": "IBM Carbon",
|
|
5
|
+
"version": "0.0.0",
|
|
6
|
+
"contractVersion": "0.1.0",
|
|
7
|
+
"license": "Apache-2.0",
|
|
8
|
+
"modes": {
|
|
9
|
+
"light": [
|
|
10
|
+
"tokens/primitive.json",
|
|
11
|
+
"tokens/system.json",
|
|
12
|
+
"tokens/system.light.json",
|
|
13
|
+
"tokens/semantic.json"
|
|
14
|
+
],
|
|
15
|
+
"dark": [
|
|
16
|
+
"tokens/primitive.json",
|
|
17
|
+
"tokens/system.json",
|
|
18
|
+
"tokens/system.dark.json",
|
|
19
|
+
"tokens/semantic.json"
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"defaultMode": "light",
|
|
23
|
+
"layout": {
|
|
24
|
+
"action-gap": "1px",
|
|
25
|
+
"action-item": "1 1 0",
|
|
26
|
+
"action-bleed": "var(--pxd-space-stack-default) calc(-1 * var(--pxd-space-inset-comfortable)) calc(-1 * var(--pxd-space-inset-comfortable))"
|
|
27
|
+
},
|
|
28
|
+
"provenance": [
|
|
29
|
+
{
|
|
30
|
+
"source": "npm:@carbon/colors (https://github.com/carbon-design-system/carbon/tree/main/packages/colors)",
|
|
31
|
+
"version": "11.58.0",
|
|
32
|
+
"license": "Apache-2.0",
|
|
33
|
+
"notes": "carbon.color.<family>.<step> from the `colors` export and carbon.color.<family>.<step>-hover from `hoverColors`. Vendored as scripts/sources/carbon/colors.json."
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"source": "npm:@carbon/themes (https://github.com/carbon-design-system/carbon/tree/main/packages/themes)",
|
|
37
|
+
"version": "11.81.0",
|
|
38
|
+
"license": "Apache-2.0",
|
|
39
|
+
"notes": "carbon.theme.* per mode: the `white` theme (light) and `g100` theme (dark) JS exports, names converted to Carbon's Sass spelling ($text-primary -> carbon.theme.text-primary); ai-*, chat-* and syntax-* tokens omitted. Component tokens from buttonTokens, notificationTokens and statusTokens (whiteTheme / g100 columns) are added to carbon.theme.* under their Sass names (e.g. carbon.theme.button-primary). A theme colour that equals a palette step is an alias to it; the rest (alpha colours, #b81921) are literals with a $description. The package's src/dtcg/*.json was not used: in 11.81.0 g100.json lacks tokens such as background-inverse and nests names differently from white.json. Vendored as scripts/sources/carbon/themes.json."
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"source": "npm:@carbon/layout (https://github.com/carbon-design-system/carbon/tree/main/packages/layout)",
|
|
43
|
+
"version": "11.59.0",
|
|
44
|
+
"license": "Apache-2.0",
|
|
45
|
+
"notes": "carbon.spacing.01..13, carbon.size.xs..2xl, carbon.icon-size.01/02, carbon.border-radius.00..max. rem converted to px at baseFontSize 16. Vendored as scripts/sources/carbon/layout.json."
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"source": "npm:@carbon/type (https://github.com/carbon-design-system/carbon/tree/main/packages/type)",
|
|
49
|
+
"version": "11.67.0",
|
|
50
|
+
"license": "Apache-2.0",
|
|
51
|
+
"notes": "carbon.type.font-family.* (IBM Plex stacks, as arrays), carbon.type.font-weight.*, and the productive type styles carbon.type.body-01 ... heading-07, label-01/02, helper-text-01/02, legal-01/02, code-01/02 as DTCG typography composites. Vendored as scripts/sources/carbon/type.json."
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"source": "npm:@carbon/motion (https://github.com/carbon-design-system/carbon/tree/main/packages/motion)",
|
|
55
|
+
"version": "11.52.0",
|
|
56
|
+
"license": "Apache-2.0",
|
|
57
|
+
"notes": "carbon.motion.duration.fast-01..slow-02 and carbon.motion.easing.{standard,entrance,exit}.{productive,expressive}. Vendored as scripts/sources/carbon/motion.json."
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"source": "npm:@carbon/charts scss/_color-palette.scss (https://github.com/carbon-design-system/carbon-charts)",
|
|
61
|
+
"version": "1.27.20",
|
|
62
|
+
"license": "Apache-2.0",
|
|
63
|
+
"notes": "carbon.data-viz.categorical.01..14 per mode: the 14-colour categorical sequence (key '14', option '1') of $white-theme-colors (light) and $dark-theme-colors (dark). Every entry, including the literal #b28600 / #8a3800 / #d2a106 / #ba4e00, is an exact @carbon/colors step (yellow 50, orange 70, yellow 40, orange 60). Neither @carbon/themes nor @carbon/colors 11.x ships data-visualization tokens. Vendored as scripts/sources/carbon/charts.json."
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"source": "npm:@carbon/styles scss/utilities/_box-shadow.scss and _focus-outline.scss (https://github.com/carbon-design-system/carbon/tree/main/packages/styles)",
|
|
67
|
+
"version": "1.115.0",
|
|
68
|
+
"license": "Apache-2.0",
|
|
69
|
+
"notes": "Transcribed into scripts/generate.ts: carbon.shadow.box-shadow = 0 2px 6px 0 $shadow (menus, dropdowns); focus ring 2px solid $focus with outline-offset -2px (focus-outline('outline'))."
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"source": "Polyxd",
|
|
73
|
+
"license": "Apache-2.0",
|
|
74
|
+
"notes": "The semantic-tier mapping; polyxd.theme.* per-mode additions (warning-emphasis contrast adjustment, state opacities read from the alpha of Carbon's $background-hover / $background-active, disabled opacity raised from Carbon's 0.25 to the contract minimum 0.3); polyxd.shadow.flat (Carbon tiles cast no shadow); border widths 1px/2px; measure.max 65."
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@polyxd/ds-carbon",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "IBM Carbon design-system pack for Polyxd (DTCG 2025.10 tokens)",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"files": [
|
|
8
|
+
"manifest.json",
|
|
9
|
+
"tokens",
|
|
10
|
+
"README.md",
|
|
11
|
+
"LICENSE",
|
|
12
|
+
"NOTICE",
|
|
13
|
+
"scripts/sources/**/LICEN[CS]E*"
|
|
14
|
+
],
|
|
15
|
+
"scripts": {
|
|
16
|
+
"generate": "node scripts/generate.ts",
|
|
17
|
+
"check": "node ../spec/src/cli/check-design-system.ts manifest.json",
|
|
18
|
+
"test": "npm run check"
|
|
19
|
+
},
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git+https://github.com/visualfart/polyxd.git",
|
|
23
|
+
"directory": "packages/ds-carbon"
|
|
24
|
+
},
|
|
25
|
+
"homepage": "https://polyxd.com",
|
|
26
|
+
"bugs": "https://github.com/visualfart/polyxd/issues",
|
|
27
|
+
"publishConfig": {
|
|
28
|
+
"access": "public"
|
|
29
|
+
}
|
|
30
|
+
}
|