coveragebook_components 0.15.0 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/build/coco/app.css +1513 -1605
  3. data/app/assets/build/coco/app.js +35 -27
  4. data/app/assets/build/coco/book.css +1212 -1303
  5. data/app/assets/build/coco/book.js +10 -6
  6. data/app/assets/build/coco/coco.css +6908 -0
  7. data/app/assets/build/coco/coco.js +10 -6
  8. data/app/assets/build/coco/tailwind.preset.js +2759 -0
  9. data/app/assets/css/base/setup.css +0 -11
  10. data/app/assets/css/base/tippy.css +40 -43
  11. data/app/assets/css/base/utils/text.css +0 -210
  12. data/app/assets/css/coco.css +3 -0
  13. data/app/assets/css/plugins/aspect.js +27 -0
  14. data/app/assets/css/plugins/colors.js +30 -0
  15. data/app/assets/css/plugins/icons.js +17 -0
  16. data/app/assets/css/plugins/layout.js +15 -0
  17. data/app/assets/css/plugins/text.js +183 -0
  18. data/app/components/coco/app/nav_drawer/nav_drawer.css +2 -2
  19. data/app/components/coco/app/plan_card/plan_card.css +1 -1
  20. data/app/components/coco/buttons/button/button.css +5 -5
  21. data/app/components/coco/buttons/button_group/button_group.css +1 -1
  22. data/app/components/coco/buttons/color_picker_button/color_picker_button.css +1 -1
  23. data/app/components/coco/buttons/menu/menu.css +1 -1
  24. data/app/components/coco/buttons/menu_items/user_profile/user_profile.css +1 -1
  25. data/app/components/coco/indicators/badge/badge.css +1 -1
  26. data/app/components/coco/layout/panel/panel.css +1 -1
  27. data/app/components/coco/modals/modal/modal.css +1 -1
  28. data/app/components/coco/modals/modal_dialog/modal_dialog.css +1 -1
  29. data/app/components/coco/utilities/placeholder/placeholder.css +1 -1
  30. data/app/helpers/coco/integration_helper.rb +25 -3
  31. data/config/exports.js +0 -0
  32. data/config/tailwind.config.js +1 -83
  33. data/config/tailwind.preset.js +66 -0
  34. data/config/tokens.js +25 -21
  35. data/lib/coco.rb +1 -1
  36. metadata +12 -5
  37. data/app/assets/css/base/utils/colors.css +0 -30
  38. data/app/assets/css/base/utils/icons.css +0 -16
  39. data/app/assets/css/base/utils/layout.css +0 -13
@@ -15028,17 +15028,21 @@ var alpine_default = import_alpinejs.default;
15028
15028
  // ../../../package.json
15029
15029
  var package_default = {
15030
15030
  name: "coveragebook-components",
15031
- version: "0.15.0",
15031
+ version: "0.16.0",
15032
15032
  repository: "git@github.com:coveragebook/coco.git",
15033
15033
  license: "NO LICENSE",
15034
15034
  author: "Mark Perkins <mark@coveragebook.com>",
15035
- main: "app/assets/build/coco/core.js",
15035
+ main: "app/assets/build/coco/coc0.js",
15036
+ engines: {
15037
+ node: "20.x"
15038
+ },
15036
15039
  scripts: {
15037
- build: "npm run js:build && npm run css:build && npm run lookbook:build",
15040
+ build: "npm run js:build && npm run css:build npm run build:tailwind-preset && npm run lookbook:build",
15041
+ "build:tailwind-preset": "esbuild ./config/tailwind.preset.js --bundle --format=cjs --outdir=./app/assets/build/coco --log-level=error",
15038
15042
  "build:dev": "npm run js:dev && npm run css:dev",
15039
- "css:build": "postcss ./app/assets/css/{app,book}.css -d ./app/assets/build/coco",
15040
- "css:dev": "postcss ./app/assets/css/{app,book}.css -d ./app/assets/build/coco/dev",
15041
- "css:watch": "postcss ./app/assets/css/{app,book}.css -d ./app/assets/build/coco/dev --watch",
15043
+ "css:build": "postcss ./app/assets/css/{app,book,coco}.css -d ./app/assets/build/coco",
15044
+ "css:dev": "postcss ./app/assets/css/{app,book,coco}.css -d ./app/assets/build/coco/dev",
15045
+ "css:watch": "postcss ./app/assets/css/{app,book,coco}.css -d ./app/assets/build/coco/dev --watch",
15042
15046
  "js:build": "node esbuild.config.mjs",
15043
15047
  "js:dev": "node esbuild.config.mjs --dev",
15044
15048
  "js:watch": "node esbuild.config.mjs --watch",