@brightspot/ui 1.0.1-0 → 1.0.1-1

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.
@@ -1 +1 @@
1
- {"generatedAt":1755812359922,"userSince":1749234503234,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":false,"hasStorybookEslint":true,"refCount":0,"testPackages":{},"hasRouterPackage":false,"packageManager":{"type":"yarn","agent":"yarn"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/web-components-webpack5","options":{"builder":{"useSWC":true}}},"builder":"@storybook/builder-webpack5","renderer":"@storybook/web-components","portableStoriesFileCount":0,"applicationFileCount":0,"storybookVersion":"8.6.14","storybookVersionSpecifier":"^8.6.12","language":"typescript","storybookPackages":{"@storybook/blocks":{"version":"8.6.14"},"@storybook/test":{"version":"8.6.14"},"@storybook/web-components":{"version":"8.6.14"},"@storybook/web-components-webpack5":{"version":"8.6.14"},"eslint-plugin-storybook":{"version":"0.12.0"},"storybook":{"version":"8.6.14"}},"addons":{"@storybook/addon-webpack5-compiler-swc":{"version":"3.0.0"},"@storybook/addon-essentials":{"version":"8.6.14"},"@storybook/addon-styling-webpack":{"version":"1.0.1"}}}
1
+ {"generatedAt":1756156034044,"userSince":1749234503234,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":false,"hasStorybookEslint":true,"refCount":0,"testPackages":{},"hasRouterPackage":false,"packageManager":{"type":"yarn","agent":"yarn"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/web-components-webpack5","options":{"builder":{"useSWC":true}}},"builder":"@storybook/builder-webpack5","renderer":"@storybook/web-components","portableStoriesFileCount":0,"applicationFileCount":0,"storybookVersion":"8.6.14","storybookVersionSpecifier":"^8.6.12","language":"typescript","storybookPackages":{"@storybook/blocks":{"version":"8.6.14"},"@storybook/test":{"version":"8.6.14"},"@storybook/web-components":{"version":"8.6.14"},"@storybook/web-components-webpack5":{"version":"8.6.14"},"eslint-plugin-storybook":{"version":"0.12.0"},"storybook":{"version":"8.6.14"}},"addons":{"@storybook/addon-webpack5-compiler-swc":{"version":"3.0.0"},"@storybook/addon-essentials":{"version":"8.6.14"},"@storybook/addon-styling-webpack":{"version":"1.0.1"}}}
@@ -21,28 +21,30 @@ import plugin from 'tailwindcss/plugin';
21
21
  */
22
22
  module.exports = plugin(function ({ addComponents, addBase }) {
23
23
  const shared = {
24
- /* these 3 whitespaces dictate the width of the shadow (necessary to give the pseudo elements an intrinsic size). */
25
- '--whitespace': '"\u2002\u2002\u2002"',
26
- animation: 'detect-scroll',
27
24
  'overflow-x': 'auto',
28
- 'overscroll-behavior-x': 'contain',
29
- 'animation-fill-mode': 'none',
30
- 'animation-timeline': '--scroll-timeline',
31
- 'scroll-timeline': '--scroll-timeline x',
32
- '&:before, &:after': {
33
- '--visibility-if-can-scroll': 'var(--can-scroll) visible',
34
- '--visibility-if-cant-scroll': 'hidden',
35
- content: 'var(--whitespace)',
36
- 'animation-name': 'fade-in',
37
- 'animation-fill-mode': 'both',
25
+ '@supports (animation-timeline:--scroll-timeline)': {
26
+ /* these 3 whitespaces dictate the width of the shadow (necessary to give the pseudo elements an intrinsic size). */
27
+ '--whitespace': '"\u2002\u2002\u2002"',
28
+ animation: 'detect-scroll',
29
+ 'overscroll-behavior-x': 'contain',
30
+ 'animation-fill-mode': 'none',
38
31
  'animation-timeline': '--scroll-timeline',
39
- 'pointer-events': 'none',
40
- display: 'block',
41
- position: 'sticky',
42
- bottom: '0px',
43
- top: '0px',
44
- visibility: 'var(--visibility-if-can-scroll, var(--visibility-if-cant-scroll))',
45
- 'z-index': '10',
32
+ 'scroll-timeline': '--scroll-timeline x',
33
+ '&:before, &:after': {
34
+ '--visibility-if-can-scroll': 'var(--can-scroll) visible',
35
+ '--visibility-if-cant-scroll': 'hidden',
36
+ content: 'var(--whitespace)',
37
+ 'animation-name': 'fade-in',
38
+ 'animation-fill-mode': 'both',
39
+ 'animation-timeline': '--scroll-timeline',
40
+ 'pointer-events': 'none',
41
+ display: 'block',
42
+ position: 'sticky',
43
+ bottom: '0px',
44
+ top: '0px',
45
+ visibility: 'var(--visibility-if-can-scroll, var(--visibility-if-cant-scroll))',
46
+ 'z-index': '10',
47
+ }
46
48
  },
47
49
  };
48
50
  addBase({
@@ -24,29 +24,31 @@ declare let module: any
24
24
 
25
25
  module.exports = plugin(function ({ addComponents, addBase }) {
26
26
  const shared = {
27
- /* these 3 whitespaces dictate the width of the shadow (necessary to give the pseudo elements an intrinsic size). */
28
- '--whitespace': '"\u2002\u2002\u2002"',
29
- animation: 'detect-scroll',
30
27
  'overflow-x': 'auto',
31
- 'overscroll-behavior-x': 'contain',
32
- 'animation-fill-mode': 'none',
33
- 'animation-timeline': '--scroll-timeline',
34
- 'scroll-timeline': '--scroll-timeline x',
35
- '&:before, &:after': {
36
- '--visibility-if-can-scroll': 'var(--can-scroll) visible',
37
- '--visibility-if-cant-scroll': 'hidden',
38
- content: 'var(--whitespace)',
39
- 'animation-name': 'fade-in',
40
- 'animation-fill-mode': 'both',
28
+ '@supports (animation-timeline:--scroll-timeline)': {
29
+ /* these 3 whitespaces dictate the width of the shadow (necessary to give the pseudo elements an intrinsic size). */
30
+ '--whitespace': '"\u2002\u2002\u2002"',
31
+ animation: 'detect-scroll',
32
+ 'overscroll-behavior-x': 'contain',
33
+ 'animation-fill-mode': 'none',
41
34
  'animation-timeline': '--scroll-timeline',
42
- 'pointer-events': 'none',
43
- display: 'block',
44
- position: 'sticky',
45
- bottom: '0px',
46
- top: '0px',
47
- visibility:
48
- 'var(--visibility-if-can-scroll, var(--visibility-if-cant-scroll))',
49
- 'z-index': '10',
35
+ 'scroll-timeline': '--scroll-timeline x',
36
+ '&:before, &:after': {
37
+ '--visibility-if-can-scroll': 'var(--can-scroll) visible',
38
+ '--visibility-if-cant-scroll': 'hidden',
39
+ content: 'var(--whitespace)',
40
+ 'animation-name': 'fade-in',
41
+ 'animation-fill-mode': 'both',
42
+ 'animation-timeline': '--scroll-timeline',
43
+ 'pointer-events': 'none',
44
+ display: 'block',
45
+ position: 'sticky',
46
+ bottom: '0px',
47
+ top: '0px',
48
+ visibility:
49
+ 'var(--visibility-if-can-scroll, var(--visibility-if-cant-scroll))',
50
+ 'z-index': '10',
51
+ }
50
52
  },
51
53
  }
52
54
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspot/ui",
3
- "version": "1.0.1-0",
3
+ "version": "1.0.1-1",
4
4
  "license": "UNLICENSED",
5
5
  "description": "A UI library for building Brightspot CMS components.",
6
6
  "main": "./dist/tailwind.config.ts",