@flowstack-ui/brick 0.1.12 → 0.2.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.
Files changed (50) hide show
  1. package/dist/agents/color-picker.json +34 -18
  2. package/dist/agents/color-picker.md +18 -13
  3. package/dist/agents/color-swatch.json +17 -5
  4. package/dist/agents/color-swatch.md +10 -5
  5. package/dist/agents/coverage.json +1874 -1165
  6. package/dist/agents/manifest.json +1 -1
  7. package/dist/components/code-block/CodeBlock.d.ts +6 -3
  8. package/dist/components/code-block/CodeBlock.d.ts.map +1 -1
  9. package/dist/components/code-block/CodeBlock.js +19 -9
  10. package/dist/components/code-block/CodeBlock.js.map +1 -1
  11. package/dist/components/color-picker/ColorPicker.d.ts +83 -24
  12. package/dist/components/color-picker/ColorPicker.d.ts.map +1 -1
  13. package/dist/components/color-picker/ColorPicker.js +102 -10
  14. package/dist/components/color-picker/ColorPicker.js.map +1 -1
  15. package/dist/components/color-picker/index.d.ts +1 -1
  16. package/dist/components/color-picker/index.d.ts.map +1 -1
  17. package/dist/components/color-picker/index.js +1 -1
  18. package/dist/components/color-picker/index.js.map +1 -1
  19. package/dist/components/color-swatch/ColorSwatch.d.ts +3 -0
  20. package/dist/components/color-swatch/ColorSwatch.d.ts.map +1 -1
  21. package/dist/components/color-swatch/ColorSwatch.js +4 -4
  22. package/dist/components/color-swatch/ColorSwatch.js.map +1 -1
  23. package/dist/components/color-swatch/index.d.ts +1 -1
  24. package/dist/components/color-swatch/index.d.ts.map +1 -1
  25. package/dist/components/color-swatch/index.js.map +1 -1
  26. package/dist/index.d.ts +2 -2
  27. package/dist/index.d.ts.map +1 -1
  28. package/dist/index.js +1 -1
  29. package/dist/index.js.map +1 -1
  30. package/dist/styles/checkbox-group.css +1 -1
  31. package/dist/styles/checkbox-group.css.map +1 -1
  32. package/dist/styles/checkbox.css +1 -1
  33. package/dist/styles/checkbox.css.map +1 -1
  34. package/dist/styles/code-block.css +1 -1
  35. package/dist/styles/code-block.css.map +1 -1
  36. package/dist/styles/color-picker.css +1 -1
  37. package/dist/styles/color-picker.css.map +1 -1
  38. package/dist/styles/color-swatch.css +1 -1
  39. package/dist/styles/color-swatch.css.map +1 -1
  40. package/dist/styles/dropdown-menu.css.map +1 -1
  41. package/dist/styles/menubar.css.map +1 -1
  42. package/dist/styles/popover.css.map +1 -1
  43. package/dist/styles/segment-group.css +1 -1
  44. package/dist/styles/segment-group.css.map +1 -1
  45. package/dist/styles/sidebar.css +1 -1
  46. package/dist/styles/sidebar.css.map +1 -1
  47. package/dist/styles.css +1 -1
  48. package/dist/styles.css.map +1 -1
  49. package/dist/theme-contract.json +139 -2
  50. package/package.json +4 -3
@@ -3,7 +3,7 @@
3
3
  "contractVersion": 4,
4
4
  "package": {
5
5
  "name": "@flowstack-ui/brick",
6
- "version": "0.1.12"
6
+ "version": "0.2.0"
7
7
  },
8
8
  "sources": {
9
9
  "tokens": "src/styles/tokens.tokens.json",
@@ -1565,6 +1565,11 @@
1565
1565
  "source": "src/components/color-swatch/ColorSwatch.tsx",
1566
1566
  "css": "src/components/color-swatch/color-swatch.css",
1567
1567
  "recipes": {
1568
+ "ColorSwatchShape": [
1569
+ "sharp",
1570
+ "rounded",
1571
+ "circle"
1572
+ ],
1568
1573
  "ColorSwatchSize": [
1569
1574
  "sm",
1570
1575
  "md",
@@ -1572,9 +1577,11 @@
1572
1577
  ]
1573
1578
  },
1574
1579
  "defaults": {
1575
- "size": "md"
1580
+ "size": "md",
1581
+ "shape": "rounded"
1576
1582
  },
1577
1583
  "states": [
1584
+ "data-shape",
1578
1585
  "data-size",
1579
1586
  "data-slot"
1580
1587
  ]
@@ -9417,6 +9424,19 @@
9417
9424
  "dark": "semantic.dark.color.link.text-pressed"
9418
9425
  }
9419
9426
  },
9427
+ {
9428
+ "name": "--brick-color-picker-area-block-size",
9429
+ "classification": "optional-extension",
9430
+ "scope": "component-instance",
9431
+ "owner": "color-picker",
9432
+ "type": null,
9433
+ "fallback": null,
9434
+ "supportedRange": null,
9435
+ "sources": [
9436
+ "src/components/color-picker/color-picker.css"
9437
+ ],
9438
+ "runtimeAssigned": false
9439
+ },
9420
9440
  {
9421
9441
  "name": "--brick-color-picker-background",
9422
9442
  "classification": "optional-extension",
@@ -9443,6 +9463,19 @@
9443
9463
  ],
9444
9464
  "runtimeAssigned": false
9445
9465
  },
9466
+ {
9467
+ "name": "--brick-color-picker-checker-size",
9468
+ "classification": "optional-extension",
9469
+ "scope": "component-instance",
9470
+ "owner": "color-picker",
9471
+ "type": null,
9472
+ "fallback": null,
9473
+ "supportedRange": null,
9474
+ "sources": [
9475
+ "src/components/color-picker/color-picker.css"
9476
+ ],
9477
+ "runtimeAssigned": false
9478
+ },
9446
9479
  {
9447
9480
  "name": "--brick-color-picker-content-background",
9448
9481
  "classification": "optional-extension",
@@ -9534,6 +9567,110 @@
9534
9567
  ],
9535
9568
  "runtimeAssigned": false
9536
9569
  },
9570
+ {
9571
+ "name": "--brick-color-picker-indicator-color",
9572
+ "classification": "optional-extension",
9573
+ "scope": "component-instance",
9574
+ "owner": "color-picker",
9575
+ "type": null,
9576
+ "fallback": null,
9577
+ "supportedRange": null,
9578
+ "sources": [
9579
+ "src/components/color-picker/color-picker.css"
9580
+ ],
9581
+ "runtimeAssigned": false
9582
+ },
9583
+ {
9584
+ "name": "--brick-color-picker-indicator-shadow",
9585
+ "classification": "optional-extension",
9586
+ "scope": "component-instance",
9587
+ "owner": "color-picker",
9588
+ "type": null,
9589
+ "fallback": null,
9590
+ "supportedRange": null,
9591
+ "sources": [
9592
+ "src/components/color-picker/color-picker.css"
9593
+ ],
9594
+ "runtimeAssigned": false
9595
+ },
9596
+ {
9597
+ "name": "--brick-color-picker-input-width",
9598
+ "classification": "optional-extension",
9599
+ "scope": "component-instance",
9600
+ "owner": "color-picker",
9601
+ "type": null,
9602
+ "fallback": null,
9603
+ "supportedRange": null,
9604
+ "sources": [
9605
+ "src/components/color-picker/color-picker.css"
9606
+ ],
9607
+ "runtimeAssigned": false
9608
+ },
9609
+ {
9610
+ "name": "--brick-color-picker-slider-block-size",
9611
+ "classification": "optional-extension",
9612
+ "scope": "component-instance",
9613
+ "owner": "color-picker",
9614
+ "type": null,
9615
+ "fallback": null,
9616
+ "supportedRange": null,
9617
+ "sources": [
9618
+ "src/components/color-picker/color-picker.css"
9619
+ ],
9620
+ "runtimeAssigned": false
9621
+ },
9622
+ {
9623
+ "name": "--brick-color-picker-swatch-gap",
9624
+ "classification": "optional-extension",
9625
+ "scope": "component-instance",
9626
+ "owner": "color-picker",
9627
+ "type": null,
9628
+ "fallback": null,
9629
+ "supportedRange": null,
9630
+ "sources": [
9631
+ "src/components/color-picker/color-picker.css"
9632
+ ],
9633
+ "runtimeAssigned": false
9634
+ },
9635
+ {
9636
+ "name": "--brick-color-picker-swatch-radius",
9637
+ "classification": "optional-extension",
9638
+ "scope": "component-instance",
9639
+ "owner": "color-picker",
9640
+ "type": null,
9641
+ "fallback": null,
9642
+ "supportedRange": null,
9643
+ "sources": [
9644
+ "src/components/color-picker/color-picker.css"
9645
+ ],
9646
+ "runtimeAssigned": false
9647
+ },
9648
+ {
9649
+ "name": "--brick-color-picker-swatch-size",
9650
+ "classification": "optional-extension",
9651
+ "scope": "component-instance",
9652
+ "owner": "color-picker",
9653
+ "type": null,
9654
+ "fallback": null,
9655
+ "supportedRange": null,
9656
+ "sources": [
9657
+ "src/components/color-picker/color-picker.css"
9658
+ ],
9659
+ "runtimeAssigned": false
9660
+ },
9661
+ {
9662
+ "name": "--brick-color-picker-thumb-size",
9663
+ "classification": "optional-extension",
9664
+ "scope": "component-instance",
9665
+ "owner": "color-picker",
9666
+ "type": null,
9667
+ "fallback": null,
9668
+ "supportedRange": null,
9669
+ "sources": [
9670
+ "src/components/color-picker/color-picker.css"
9671
+ ],
9672
+ "runtimeAssigned": false
9673
+ },
9537
9674
  {
9538
9675
  "name": "--brick-color-scrim",
9539
9676
  "classification": "required",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowstack-ui/brick",
3
- "version": "0.1.12",
3
+ "version": "0.2.0",
4
4
  "description": "Opinionated styled React components built on @flowstack-ui/atom.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -486,6 +486,7 @@
486
486
  "test:processes": "node scripts/check-test-ports.mjs",
487
487
  "verify:typography": "node scripts/verify-typography.mjs",
488
488
  "verify:playground-primitives": "node scripts/verify-playground-primitives.mjs",
489
+ "verify:playground-contract": "node scripts/verify-playground-contract.mjs",
489
490
  "verify:playground-stack": "node scripts/verify-playground-stack.mjs",
490
491
  "verify:playground-grid": "node scripts/verify-playground-grid.mjs",
491
492
  "verify:playground-container": "node scripts/verify-playground-container.mjs",
@@ -501,7 +502,7 @@
501
502
  "verify:playground-composition": "node scripts/verify-playground-composition.mjs",
502
503
  "check": "npm run check:repository",
503
504
  "check:focused": "npm run test:component",
504
- "check:repository": "npm run verify:repository-contract && npm run verify:theme-contract && npm run test:ownership && npm run docs:component && npm run docs:component:semantic && npm run verify:typography && npm run verify:playground-primitives && npm run verify:playground-stack && npm run verify:playground-grid && npm run verify:playground-container && npm run verify:playground-surface && npm run verify:playground-divider && npm run verify:playground-scroll-area && npm run verify:playground-code && npm run verify:playground-nav-list && npm run verify:playground-sidebar && npm run verify:playground-icon && npm run verify:playground-image && npm run verify:playground-list && npm run verify:playground-composition && npm run build && npm run agents:check && npm run verify:theme-qualification && npm run typecheck:built && npm run test:node:built && npm run test:components && npm run test:css && npm run build:playground:built && npm run build:consumer:built && npm run pack:check && npm run verify:consumers:built",
505
+ "check:repository": "npm run verify:repository-contract && npm run verify:theme-contract && npm run test:ownership && npm run verify:playground-contract && npm run docs:component && npm run docs:component:semantic && npm run verify:typography && npm run verify:playground-primitives && npm run verify:playground-stack && npm run verify:playground-grid && npm run verify:playground-container && npm run verify:playground-surface && npm run verify:playground-divider && npm run verify:playground-scroll-area && npm run verify:playground-code && npm run verify:playground-nav-list && npm run verify:playground-sidebar && npm run verify:playground-icon && npm run verify:playground-image && npm run verify:playground-list && npm run verify:playground-composition && npm run build && npm run agents:check && npm run verify:theme-qualification && npm run typecheck:built && npm run test:node:built && npm run test:components && npm run test:css && npm run build:playground:built && npm run build:consumer:built && npm run pack:check && npm run verify:consumers:built",
505
506
  "check:release": "npm run check:repository && npm run test:browser:release:built && npm run verify:consumer:built && npm run size:css",
506
507
  "prepublishOnly": "npm run build"
507
508
  },
@@ -517,7 +518,7 @@
517
518
  "react-dom": ">=18"
518
519
  },
519
520
  "dependencies": {
520
- "@flowstack-ui/atom": "0.25.1"
521
+ "@flowstack-ui/atom": "0.26.0"
521
522
  },
522
523
  "devDependencies": {
523
524
  "@axe-core/playwright": "^4.12.1",