@atom-learning/components 5.9.0 → 5.9.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.
package/CHANGELOG.md CHANGED
@@ -1,22 +1,9 @@
1
- # [5.9.0](https://github.com/Atom-Learning/components/compare/v5.8.0...v5.9.0) (2025-11-07)
1
+ ## [5.9.1](https://github.com/Atom-Learning/components/compare/v5.9.0...v5.9.1) (2025-11-11)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * null check on tableposition ([c1e4d60](https://github.com/Atom-Learning/components/commit/c1e4d604818fd21ce051ab5fa33ca987a25e4318))
7
- * removed unused container and context prop ([c6b5363](https://github.com/Atom-Learning/components/commit/c6b5363b51e9f9d7e8b582103d1e266cec40d1d2))
8
- * type issue on floating bar props ([3b54b45](https://github.com/Atom-Learning/components/commit/3b54b45e1d3323cd06c88cb42e41b68547264eb6))
9
- * updated shadow ([e9b4ef0](https://github.com/Atom-Learning/components/commit/e9b4ef036a581e1aef0c1a7272534ddc5418e681))
10
- * updated types ([0855424](https://github.com/Atom-Learning/components/commit/0855424023071ab725ad45859700ec3987021671))
11
-
12
-
13
- ### Features
14
-
15
- * added floating action bar, moved scroll observer to table ([fb41d71](https://github.com/Atom-Learning/components/commit/fb41d712ff500ba8216434b61f0f95440d9c25cd))
16
- * changed sticky header behaviour to work relative to page ([83518f3](https://github.com/Atom-Learning/components/commit/83518f357b62134fdd7654b1824205d991611248))
17
- * improved responsive styling ([42a9ae8](https://github.com/Atom-Learning/components/commit/42a9ae883c0e0fa03cdef36a01de59098f0d09bb))
18
- * minor improvements to horizontal scroll ([de20a46](https://github.com/Atom-Learning/components/commit/de20a468b2f8976d1a2e5bf76020c0d286fd7587))
19
- * spacing around close button ([81e3f80](https://github.com/Atom-Learning/components/commit/81e3f805643098ef2b764659b1615b34d86cc8c5))
6
+ * use correct radix selector for disabled element ([5e0e3eb](https://github.com/Atom-Learning/components/commit/5e0e3eb3a995a96e072fefc9719a10d729f90c30))
20
7
 
21
8
  # [1.4.0](https://github.com/Atom-Learning/components/compare/v1.3.0...v1.4.0) (2022-04-11)
22
9
 
@@ -8,7 +8,7 @@ export declare const itemStyles: {
8
8
  position: string;
9
9
  px: string;
10
10
  py: string;
11
- '&[disabled]': {
11
+ '&[data-disabled]': {
12
12
  pointerEvents: string;
13
13
  alignContent?: import("@atom-learning/stitches-react/types/css").Globals | import("@atom-learning/stitches-react/types/theme").ScaleValue | import("@atom-learning/stitches-react/types/util").Index | import("@atom-learning/stitches-react/types/css").Property.AlignContent | undefined;
14
14
  alignItems?: import("@atom-learning/stitches-react/types/css").Globals | import("@atom-learning/stitches-react/types/theme").ScaleValue | import("@atom-learning/stitches-react/types/util").Index | import("@atom-learning/stitches-react/types/css").Property.AlignItems | undefined;
@@ -1,2 +1,2 @@
1
- import{Item as e}from"@radix-ui/react-dropdown-menu";import{styled as t}from"../../stitches.js";import"../../utilities/css-wrapper/CSSWrapper.js";import"../../utilities/no-overflow-wrapper/NoOverflowWrapper.js";import"color2k";import"../../utilities/style/keyframe-animations.js";import{disabledStyle as r}from"../../utilities/style/disabledStyle.js";const o={alignItems:"center",color:"$grey1000",cursor:"pointer",display:"flex",fontFamily:"$body",fontWeight:400,position:"relative",px:"$3",py:"$2","&[disabled]":{...r,pointerEvents:"none"},'&[aria-current="page"], &:focus':{"&::before":{borderLeft:"2px solid currentColor",content:"",height:"$2",left:0,outline:"none",position:"absolute",transform:"scale(1)"}},"&:focus":{color:"$primary900",outline:"none"},"&:hover":{textDecoration:"underline"}},i=t(e,o);export{i as DropdownMenuItem,o as itemStyles};
1
+ import{Item as e}from"@radix-ui/react-dropdown-menu";import{styled as t}from"../../stitches.js";import"../../utilities/css-wrapper/CSSWrapper.js";import"../../utilities/no-overflow-wrapper/NoOverflowWrapper.js";import"color2k";import"../../utilities/style/keyframe-animations.js";import{disabledStyle as r}from"../../utilities/style/disabledStyle.js";const o={alignItems:"center",color:"$grey1000",cursor:"pointer",display:"flex",fontFamily:"$body",fontWeight:400,position:"relative",px:"$3",py:"$2","&[data-disabled]":{...r,pointerEvents:"none"},'&[aria-current="page"], &:focus':{"&::before":{borderLeft:"2px solid currentColor",content:"",height:"$2",left:0,outline:"none",position:"absolute",transform:"scale(1)"}},"&:focus":{color:"$primary900",outline:"none"},"&:hover":{textDecoration:"underline"}},i=t(e,o);export{i as DropdownMenuItem,o as itemStyles};
2
2
  //# sourceMappingURL=DropdownMenuItem.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownMenuItem.js","sources":["../../../src/components/dropdown-menu/DropdownMenuItem.tsx"],"sourcesContent":["import { Item } from '@radix-ui/react-dropdown-menu'\n\nimport { styled } from '~/stitches'\nimport { disabledStyle } from '~/utilities'\n\nexport const itemStyles = {\n alignItems: 'center',\n color: '$grey1000',\n cursor: 'pointer',\n display: 'flex',\n fontFamily: '$body',\n fontWeight: 400,\n position: 'relative',\n px: '$3',\n py: '$2',\n '&[disabled]': { ...disabledStyle, pointerEvents: 'none' },\n '&[aria-current=\"page\"], &:focus': {\n '&::before': {\n borderLeft: '2px solid currentColor',\n content: '',\n height: '$2',\n left: 0,\n outline: 'none',\n position: 'absolute',\n transform: 'scale(1)'\n }\n },\n '&:focus': {\n color: '$primary900',\n outline: 'none'\n },\n '&:hover': { textDecoration: 'underline' }\n}\n\nexport const DropdownMenuItem = styled(Item, itemStyles)\n"],"names":["itemStyles","disabledStyle","DropdownMenuItem","styled","Item"],"mappings":"+VAKO,MAAMA,EAAa,CACxB,WAAY,SACZ,MAAO,YACP,OAAQ,UACR,QAAS,OACT,WAAY,QACZ,WAAY,IACZ,SAAU,WACV,GAAI,KACJ,GAAI,KACJ,cAAe,CAAE,GAAGC,EAAe,cAAe,MAAO,EACzD,kCAAmC,CACjC,YAAa,CACX,WAAY,yBACZ,QAAS,GACT,OAAQ,KACR,KAAM,EACN,QAAS,OACT,SAAU,WACV,UAAW,UACb,CACF,EACA,UAAW,CACT,MAAO,cACP,QAAS,MACX,EACA,UAAW,CAAE,eAAgB,WAAY,CAC3C,EAEaC,EAAmBC,EAAOC,EAAMJ,CAAU"}
1
+ {"version":3,"file":"DropdownMenuItem.js","sources":["../../../src/components/dropdown-menu/DropdownMenuItem.tsx"],"sourcesContent":["import { Item } from '@radix-ui/react-dropdown-menu'\n\nimport { styled } from '~/stitches'\nimport { disabledStyle } from '~/utilities'\n\nexport const itemStyles = {\n alignItems: 'center',\n color: '$grey1000',\n cursor: 'pointer',\n display: 'flex',\n fontFamily: '$body',\n fontWeight: 400,\n position: 'relative',\n px: '$3',\n py: '$2',\n '&[data-disabled]': { ...disabledStyle, pointerEvents: 'none' },\n '&[aria-current=\"page\"], &:focus': {\n '&::before': {\n borderLeft: '2px solid currentColor',\n content: '',\n height: '$2',\n left: 0,\n outline: 'none',\n position: 'absolute',\n transform: 'scale(1)'\n }\n },\n '&:focus': {\n color: '$primary900',\n outline: 'none'\n },\n '&:hover': { textDecoration: 'underline' }\n}\n\nexport const DropdownMenuItem = styled(Item, itemStyles)\n"],"names":["itemStyles","disabledStyle","DropdownMenuItem","styled","Item"],"mappings":"+VAKO,MAAMA,EAAa,CACxB,WAAY,SACZ,MAAO,YACP,OAAQ,UACR,QAAS,OACT,WAAY,QACZ,WAAY,IACZ,SAAU,WACV,GAAI,KACJ,GAAI,KACJ,mBAAoB,CAAE,GAAGC,EAAe,cAAe,MAAO,EAC9D,kCAAmC,CACjC,YAAa,CACX,WAAY,yBACZ,QAAS,GACT,OAAQ,KACR,KAAM,EACN,QAAS,OACT,SAAU,WACV,UAAW,UACb,CACF,EACA,UAAW,CACT,MAAO,cACP,QAAS,MACX,EACA,UAAW,CAAE,eAAgB,WAAY,CAC3C,EAEaC,EAAmBC,EAAOC,EAAMJ,CAAU"}