gbs-add-block 2.0.4 → 2.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/.gbs/skills/gbs-components/references/styling.md +21 -15
- package/README.md +22 -7
- package/package.json +1 -1
- package/source/beta-components/accordion/styles.css +5 -5
- package/source/beta-components/alert/styles.css +4 -4
- package/source/beta-components/avatar/styles.css +226 -227
- package/source/beta-components/badge/styles.css +7 -7
- package/source/beta-components/breadcrumb/styles.css +5 -4
- package/source/beta-components/button/styles.css +5 -4
- package/source/beta-components/card/styles.css +5 -4
- package/source/beta-components/checkbox/styles.css +5 -4
- package/source/beta-components/combobox/styles.css +4 -4
- package/source/beta-components/data-grid/styles.css +7 -8
- package/source/beta-components/date-picker/styles.css +4 -4
- package/source/beta-components/dialog/styles.css +5 -4
- package/source/beta-components/file-uploader/styles.css +5 -4
- package/source/beta-components/input/styles.css +5 -4
- package/source/beta-components/menu/styles.css +5 -4
- package/source/beta-components/modal/styles.css +5 -4
- package/source/beta-components/number-input/styles.css +5 -5
- package/source/beta-components/popover/styles.css +5 -4
- package/source/beta-components/progress/styles.css +1 -2
- package/source/beta-components/radio-group/styles.css +270 -270
- package/source/beta-components/skeleton/styles.css +5 -4
- package/source/beta-components/spinner/styles.css +174 -174
- package/source/beta-components/switch/styles.css +229 -229
- package/source/beta-components/tabs/styles.css +264 -264
- package/source/beta-components/textarea/styles.css +5 -4
- package/source/beta-components/toaster/styles.css +1 -2
- package/source/beta-components/tooltip/styles.css +5 -4
|
@@ -3,12 +3,13 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Tokens read the shared --gbs-* variables when they are set on an ancestor
|
|
5
5
|
* (set them on :root to theme every component at once) and fall back to the
|
|
6
|
-
* same default palette otherwise. Rules live in the `
|
|
7
|
-
*
|
|
6
|
+
* same default palette otherwise. Rules live in the `gbs` layer. Declare
|
|
7
|
+
* where that sits in your global CSS — e.g. `@layer reset, gbs, app,
|
|
8
|
+
* utilities;` — and anything in a later layer, Tailwind utilities included,
|
|
9
|
+
* overrides them.
|
|
8
10
|
*/
|
|
9
|
-
@layer theme, base, components, utilities;
|
|
10
11
|
|
|
11
|
-
@layer
|
|
12
|
+
@layer gbs {
|
|
12
13
|
.bt-root {
|
|
13
14
|
--bt-bg: var(--gbs-bg, var(--dg-bg, light-dark(#ffffff, #0b0b0e)));
|
|
14
15
|
--bt-fg: var(--gbs-fg, var(--dg-fg, light-dark(#18181b, #f4f4f5)));
|
|
@@ -3,12 +3,13 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Tokens read the shared --gbs-* variables when they are set on an ancestor
|
|
5
5
|
* (set them on :root to theme every component at once) and fall back to the
|
|
6
|
-
* same default palette otherwise. Rules live in the `
|
|
7
|
-
*
|
|
6
|
+
* same default palette otherwise. Rules live in the `gbs` layer. Declare
|
|
7
|
+
* where that sits in your global CSS — e.g. `@layer reset, gbs, app,
|
|
8
|
+
* utilities;` — and anything in a later layer, Tailwind utilities included,
|
|
9
|
+
* overrides them.
|
|
8
10
|
*/
|
|
9
|
-
@layer theme, base, components, utilities;
|
|
10
11
|
|
|
11
|
-
@layer
|
|
12
|
+
@layer gbs {
|
|
12
13
|
.cd-root,
|
|
13
14
|
.st-root {
|
|
14
15
|
--cd-bg: var(--gbs-bg, var(--dg-bg, light-dark(#ffffff, #0b0b0e)));
|
|
@@ -3,12 +3,13 @@
|
|
|
3
3
|
*
|
|
4
4
|
* The box is the native <input> with `appearance: none`, so it keeps native
|
|
5
5
|
* behavior. Tokens read the shared --gbs-* variables when they are set on an
|
|
6
|
-
* ancestor (set them on :root to theme every component at once). Rules live
|
|
7
|
-
*
|
|
6
|
+
* ancestor (set them on :root to theme every component at once). Rules live
|
|
7
|
+
* in the `gbs` layer. Declare where that sits in your global CSS — e.g.
|
|
8
|
+
* `@layer reset, gbs, app, utilities;` — and anything in a later layer,
|
|
9
|
+
* Tailwind utilities included, overrides them.
|
|
8
10
|
*/
|
|
9
|
-
@layer theme, base, components, utilities;
|
|
10
11
|
|
|
11
|
-
@layer
|
|
12
|
+
@layer gbs {
|
|
12
13
|
.ck-root,
|
|
13
14
|
.ck-group {
|
|
14
15
|
--ck-fg: var(--gbs-fg, var(--dg-fg, light-dark(#18181b, #f4f4f5)));
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Tokens read the shared --gbs-* variables when they are set on an ancestor
|
|
5
5
|
* (set them on :root to theme every component at once) and fall back to the
|
|
6
|
-
* same default palette otherwise. Rules live in the `
|
|
7
|
-
*
|
|
6
|
+
* same default palette otherwise. Rules live in the `gbs` layer; declare
|
|
7
|
+
* where it sits in your global CSS, e.g. `@layer reset, gbs, app,
|
|
8
|
+
* utilities;`, and anything in a later layer overrides them.
|
|
8
9
|
*/
|
|
9
|
-
@layer theme, base, components, utilities;
|
|
10
10
|
|
|
11
|
-
@layer
|
|
11
|
+
@layer gbs {
|
|
12
12
|
.cb-root {
|
|
13
13
|
--cb-bg: var(--gbs-bg, var(--dg-bg, light-dark(#ffffff, #0b0b0e)));
|
|
14
14
|
--cb-fg: var(--gbs-fg, var(--dg-fg, light-dark(#18181b, #f4f4f5)));
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* DataGrid styles.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
2
|
+
* DataGrid styles. Rules live in the `gbs` layer; declare where it sits in
|
|
3
|
+
* your global CSS, e.g. `@layer reset, gbs, app, utilities;`, and anything in
|
|
4
|
+
* a later layer overrides them.
|
|
5
5
|
*
|
|
6
|
-
* Theme: override the --dg-* variables on .dg-root or any ancestor.
|
|
7
|
-
*
|
|
8
|
-
*
|
|
6
|
+
* Theme: override the --dg-* variables on .dg-root or any ancestor. Colors
|
|
7
|
+
* follow the page's `color-scheme`; `.dark` / `[data-theme]` ancestors or
|
|
8
|
+
* `data-theme` on the grid force a scheme.
|
|
9
9
|
*/
|
|
10
|
-
@layer theme, base, components, utilities;
|
|
11
10
|
|
|
12
|
-
@layer
|
|
11
|
+
@layer gbs {
|
|
13
12
|
.dg-root {
|
|
14
13
|
--dg-font-size: var(--gbs-font-size, 13px);
|
|
15
14
|
--dg-bg: var(--gbs-bg, light-dark(#ffffff, #0b0b0e));
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Tokens read the shared --gbs-* variables when they are set on an ancestor
|
|
5
5
|
* (set them on :root to theme every component at once) and fall back to the
|
|
6
|
-
* same default palette otherwise. Rules live in the `
|
|
7
|
-
*
|
|
6
|
+
* same default palette otherwise. Rules live in the `gbs` layer; declare
|
|
7
|
+
* where it sits in your global CSS, e.g. `@layer reset, gbs, app,
|
|
8
|
+
* utilities;`, and anything in a later layer overrides them.
|
|
8
9
|
*/
|
|
9
|
-
@layer theme, base, components, utilities;
|
|
10
10
|
|
|
11
|
-
@layer
|
|
11
|
+
@layer gbs {
|
|
12
12
|
.dp-root {
|
|
13
13
|
--dp-bg: var(--gbs-bg, var(--dg-bg, light-dark(#ffffff, #0b0b0e)));
|
|
14
14
|
--dp-fg: var(--gbs-fg, var(--dg-fg, light-dark(#18181b, #f4f4f5)));
|
|
@@ -3,12 +3,13 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Tokens read the shared --gbs-* variables when they are set on an ancestor
|
|
5
5
|
* (set them on :root to theme every component at once) and fall back to the
|
|
6
|
-
* same default palette otherwise. Rules live in the `
|
|
7
|
-
*
|
|
6
|
+
* same default palette otherwise. Rules live in the `gbs` layer. Declare
|
|
7
|
+
* where that sits in your global CSS — e.g. `@layer reset, gbs, app,
|
|
8
|
+
* utilities;` — and anything in a later layer, Tailwind utilities included,
|
|
9
|
+
* overrides them.
|
|
8
10
|
*/
|
|
9
|
-
@layer theme, base, components, utilities;
|
|
10
11
|
|
|
11
|
-
@layer
|
|
12
|
+
@layer gbs {
|
|
12
13
|
.dl-root {
|
|
13
14
|
--dl-bg: var(--gbs-bg, var(--dg-bg, light-dark(#ffffff, #0b0b0e)));
|
|
14
15
|
--dl-fg: var(--gbs-fg, var(--dg-fg, light-dark(#18181b, #f4f4f5)));
|
|
@@ -3,12 +3,13 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Tokens read the shared --gbs-* variables when they are set on an ancestor
|
|
5
5
|
* (set them on :root to theme every component at once) and fall back to the
|
|
6
|
-
* same default palette otherwise. Rules live in the `
|
|
7
|
-
*
|
|
6
|
+
* same default palette otherwise. Rules live in the `gbs` layer. Declare
|
|
7
|
+
* where that sits in your global CSS — e.g. `@layer reset, gbs, app,
|
|
8
|
+
* utilities;` — and anything in a later layer, Tailwind utilities included,
|
|
9
|
+
* overrides them.
|
|
8
10
|
*/
|
|
9
|
-
@layer theme, base, components, utilities;
|
|
10
11
|
|
|
11
|
-
@layer
|
|
12
|
+
@layer gbs {
|
|
12
13
|
.fu-root {
|
|
13
14
|
--fu-bg: var(--gbs-bg, var(--dg-bg, light-dark(#ffffff, #0b0b0e)));
|
|
14
15
|
--fu-fg: var(--gbs-fg, var(--dg-fg, light-dark(#18181b, #f4f4f5)));
|
|
@@ -3,12 +3,13 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Tokens read the shared --gbs-* variables when they are set on an ancestor
|
|
5
5
|
* (set them on :root to theme every component at once) and fall back to the
|
|
6
|
-
* same default palette otherwise. Rules live in the `
|
|
7
|
-
*
|
|
6
|
+
* same default palette otherwise. Rules live in the `gbs` layer. Declare
|
|
7
|
+
* where that sits in your global CSS — e.g. `@layer reset, gbs, app,
|
|
8
|
+
* utilities;` — and anything in a later layer, Tailwind utilities included,
|
|
9
|
+
* overrides them.
|
|
8
10
|
*/
|
|
9
|
-
@layer theme, base, components, utilities;
|
|
10
11
|
|
|
11
|
-
@layer
|
|
12
|
+
@layer gbs {
|
|
12
13
|
.in-root {
|
|
13
14
|
--in-bg: var(--gbs-bg, var(--dg-bg, light-dark(#ffffff, #0b0b0e)));
|
|
14
15
|
--in-fg: var(--gbs-fg, var(--dg-fg, light-dark(#18181b, #f4f4f5)));
|
|
@@ -3,12 +3,13 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Tokens read the shared --gbs-* variables when they are set on an ancestor
|
|
5
5
|
* (set them on :root to theme every component at once) and fall back to the
|
|
6
|
-
* same default palette otherwise. Rules live in the `
|
|
7
|
-
*
|
|
6
|
+
* same default palette otherwise. Rules live in the `gbs` layer. Declare
|
|
7
|
+
* where that sits in your global CSS — e.g. `@layer reset, gbs, app,
|
|
8
|
+
* utilities;` — and anything in a later layer, Tailwind utilities included,
|
|
9
|
+
* overrides them.
|
|
8
10
|
*/
|
|
9
|
-
@layer theme, base, components, utilities;
|
|
10
11
|
|
|
11
|
-
@layer
|
|
12
|
+
@layer gbs {
|
|
12
13
|
.mn-root {
|
|
13
14
|
--mn-bg: var(--gbs-bg, var(--dg-bg, light-dark(#ffffff, #0b0b0e)));
|
|
14
15
|
--mn-fg: var(--gbs-fg, var(--dg-fg, light-dark(#18181b, #f4f4f5)));
|
|
@@ -3,12 +3,13 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Tokens read the shared --gbs-* variables when they are set on an ancestor
|
|
5
5
|
* (set them on :root to theme every component at once) and fall back to the
|
|
6
|
-
* same default palette otherwise. Rules live in the `
|
|
7
|
-
*
|
|
6
|
+
* same default palette otherwise. Rules live in the `gbs` layer. Declare
|
|
7
|
+
* where that sits in your global CSS — e.g. `@layer reset, gbs, app,
|
|
8
|
+
* utilities;` — and anything in a later layer, Tailwind utilities included,
|
|
9
|
+
* overrides them.
|
|
8
10
|
*/
|
|
9
|
-
@layer theme, base, components, utilities;
|
|
10
11
|
|
|
11
|
-
@layer
|
|
12
|
+
@layer gbs {
|
|
12
13
|
.md-root {
|
|
13
14
|
--md-bg: var(--gbs-bg, var(--dg-bg, light-dark(#ffffff, #0b0b0e)));
|
|
14
15
|
--md-fg: var(--gbs-fg, var(--dg-fg, light-dark(#18181b, #f4f4f5)));
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
* The field is a text input, so it looks and sizes exactly like the Input
|
|
5
5
|
* component; the spinner is two buttons the stylesheet owns rather than the
|
|
6
6
|
* browser's, which cannot be styled. Tokens read the shared --gbs-* variables
|
|
7
|
-
* when they are set on an ancestor (set them on :root to theme every
|
|
8
|
-
* at once). Rules live in the `
|
|
9
|
-
*
|
|
7
|
+
* when they are set on an ancestor (set them on :root to theme every
|
|
8
|
+
* component at once). Rules live in the `gbs` layer. Declare where that sits
|
|
9
|
+
* in your global CSS — e.g. `@layer reset, gbs, app, utilities;` — and
|
|
10
|
+
* anything in a later layer, Tailwind utilities included, overrides them.
|
|
10
11
|
*/
|
|
11
|
-
@layer theme, base, components, utilities;
|
|
12
12
|
|
|
13
|
-
@layer
|
|
13
|
+
@layer gbs {
|
|
14
14
|
.nm-root {
|
|
15
15
|
--nm-fg: var(--gbs-fg, var(--dg-fg, light-dark(#18181b, #f4f4f5)));
|
|
16
16
|
--nm-muted: var(--gbs-muted, var(--dg-muted, light-dark(#71717a, #a1a1aa)));
|
|
@@ -3,12 +3,13 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Tokens read the shared --gbs-* variables when they are set on an ancestor
|
|
5
5
|
* (set them on :root to theme every component at once) and fall back to the
|
|
6
|
-
* same default palette otherwise. Rules live in the `
|
|
7
|
-
*
|
|
6
|
+
* same default palette otherwise. Rules live in the `gbs` layer. Declare
|
|
7
|
+
* where that sits in your global CSS — e.g. `@layer reset, gbs, app,
|
|
8
|
+
* utilities;` — and anything in a later layer, Tailwind utilities included,
|
|
9
|
+
* overrides them.
|
|
8
10
|
*/
|
|
9
|
-
@layer theme, base, components, utilities;
|
|
10
11
|
|
|
11
|
-
@layer
|
|
12
|
+
@layer gbs {
|
|
12
13
|
.pv-root {
|
|
13
14
|
--pv-bg: var(--gbs-bg, var(--dg-bg, light-dark(#ffffff, #0b0b0e)));
|
|
14
15
|
--pv-fg: var(--gbs-fg, var(--dg-fg, light-dark(#18181b, #f4f4f5)));
|
|
@@ -8,9 +8,8 @@
|
|
|
8
8
|
* layer, so utility classes passed through `className` / `classNames` override
|
|
9
9
|
* them.
|
|
10
10
|
*/
|
|
11
|
-
@layer theme, base, components, utilities;
|
|
12
11
|
|
|
13
|
-
@layer
|
|
12
|
+
@layer gbs {
|
|
14
13
|
.pr-root,
|
|
15
14
|
.pr-circle {
|
|
16
15
|
--pr-fg: var(--gbs-fg, var(--dg-fg, light-dark(#18181b, #f4f4f5)));
|