@orfium/ictinus 5.43.6 → 5.43.7

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,9 +1,9 @@
1
1
 
2
- > @orfium/ictinus@5.43.6 build /home/runner/work/orfium-ictinus/orfium-ictinus/packages/ictinus
2
+ > @orfium/ictinus@5.43.7 build /home/runner/work/orfium-ictinus/orfium-ictinus/packages/ictinus
3
3
  > pnpm build:main && pnpm build:codemods && pnpm build:vanilla
4
4
 
5
5
 
6
- > @orfium/ictinus@5.43.6 build:main /home/runner/work/orfium-ictinus/orfium-ictinus/packages/ictinus
6
+ > @orfium/ictinus@5.43.7 build:main /home/runner/work/orfium-ictinus/orfium-ictinus/packages/ictinus
7
7
  > vite build --mode production
8
8
 
9
9
  production /home/runner/work/orfium-ictinus/orfium-ictinus/packages/ictinus
@@ -105,8 +105,8 @@ computing gzip size...
105
105
  dist/components/ExpandCollapse/utils.js  0.47 kB │ gzip: 0.27 kB
106
106
  dist/components/TopAppBar/components/SidebarMenuIcon/SidebarMenuIcon.js  0.48 kB │ gzip: 0.32 kB
107
107
  dist/components/Table/components/TR/TR.style.js  0.48 kB │ gzip: 0.29 kB
108
- dist/components/Select/Select.style.js  0.49 kB │ gzip: 0.33 kB
109
108
  dist/components/Icon/assets/navigation/triangleRight.svg.js  0.49 kB │ gzip: 0.33 kB
109
+ dist/components/Select/Select.style.js  0.49 kB │ gzip: 0.33 kB
110
110
  dist/components/Card/Card.style.js  0.49 kB │ gzip: 0.33 kB
111
111
  dist/components/Icon/assets/navigation/triangleDown.svg.js  0.49 kB │ gzip: 0.34 kB
112
112
  dist/components/Icon/assets/navigation/triangleLeft.svg.js  0.49 kB │ gzip: 0.34 kB
@@ -207,8 +207,8 @@ computing gzip size...
207
207
  dist/components/Search/StatefulSearch.js  0.89 kB │ gzip: 0.48 kB
208
208
  dist/components/Slider/components/SliderMark/SliderMark.js  0.89 kB │ gzip: 0.50 kB
209
209
  dist/components/Icon/assets/musicBusiness/recording.svg.js  0.90 kB │ gzip: 0.53 kB
210
- dist/components/TopAppBar/TopAppBar.style.js  0.91 kB │ gzip: 0.46 kB
211
210
  dist/components/Icon/assets/generic/search filled.svg.js  0.91 kB │ gzip: 0.48 kB
211
+ dist/components/TopAppBar/TopAppBar.style.js  0.91 kB │ gzip: 0.46 kB
212
212
  dist/icons/LicenseIcon.js  0.91 kB │ gzip: 0.54 kB
213
213
  dist/components/Icon/assets/audioControls/rewind.svg.js  0.91 kB │ gzip: 0.48 kB
214
214
  dist/components/Icon/Icon.style.js  0.91 kB │ gzip: 0.48 kB
@@ -258,8 +258,8 @@ computing gzip size...
258
258
  dist/components/Button/Button.js  1.05 kB │ gzip: 0.52 kB
259
259
  dist/components/TableV4/components/TableRowWrapper/TableRowWrapper.js  1.05 kB │ gzip: 0.48 kB
260
260
  dist/components/Icon/assets/generic/location.svg.js  1.05 kB │ gzip: 0.57 kB
261
- dist/components/Filter/components/FilterMenu/FilterMenu.js  1.05 kB │ gzip: 0.50 kB
262
261
  dist/components/NumberField/components/Stepper/Stepper.js  1.05 kB │ gzip: 0.50 kB
262
+ dist/components/Filter/components/FilterMenu/FilterMenu.js  1.05 kB │ gzip: 0.50 kB
263
263
  dist/components/Notification/NotificationsContainer/NotificationsContainer.style.js  1.06 kB │ gzip: 0.45 kB
264
264
  dist/icons/ReportIcon.js  1.06 kB │ gzip: 0.60 kB
265
265
  dist/icons/NextIcon.js  1.07 kB │ gzip: 0.60 kB
@@ -394,8 +394,8 @@ computing gzip size...
394
394
  dist/components/Icon/assets/musicBusiness/artist.svg.js  1.54 kB │ gzip: 0.81 kB
395
395
  dist/components/Drawer/Drawer.js  1.55 kB │ gzip: 0.70 kB
396
396
  dist/icons/DigitalIcon.js  1.55 kB │ gzip: 0.78 kB
397
- dist/components/Table/components/OptimizedTableRow.js  1.55 kB │ gzip: 0.73 kB
398
397
  dist/components/Controls/Switch/Switch.style.js  1.55 kB │ gzip: 0.72 kB
398
+ dist/components/Table/components/OptimizedTableRow.js  1.55 kB │ gzip: 0.73 kB
399
399
  dist/icons/ConflictIcon.js  1.55 kB │ gzip: 0.86 kB
400
400
  dist/icons/AssetIcon.js  1.58 kB │ gzip: 0.85 kB
401
401
  dist/icons/LockIcon.js  1.59 kB │ gzip: 0.81 kB
@@ -605,11 +605,11 @@ computing gzip size...
605
605
  dist/icon/Icon.js  11.30 kB │ gzip: 2.63 kB
606
606
  dist/index.js  13.19 kB │ gzip: 3.19 kB
607
607
  dist/sprinkles/properties.css.js 119.33 kB │ gzip: 14.98 kB
608
- [vite:dts] Declaration files built in 10735ms.
608
+ [vite:dts] Declaration files built in 10718ms.
609
609
 
610
- ✓ built in 14.93s
610
+ ✓ built in 15.16s
611
611
 
612
- > @orfium/ictinus@5.43.6 build:codemods /home/runner/work/orfium-ictinus/orfium-ictinus/packages/ictinus
612
+ > @orfium/ictinus@5.43.7 build:codemods /home/runner/work/orfium-ictinus/orfium-ictinus/packages/ictinus
613
613
  > vite build --config vite.codemods.config.ts
614
614
 
615
615
  vite v7.3.1 building client environment for production...
@@ -642,11 +642,11 @@ computing gzip size...
642
642
  dist/codemods/drawerCodemod.cjs 1.07 kB │ gzip: 0.42 kB
643
643
  dist/codemods/unchangedIconsCodemod.cjs 1.12 kB │ gzip: 0.56 kB
644
644
  dist/codemods/globalsCodemod.cjs 6.99 kB │ gzip: 1.11 kB
645
- [vite:dts] Declaration files built in 782ms.
645
+ [vite:dts] Declaration files built in 815ms.
646
646
 
647
- ✓ built in 930ms
647
+ ✓ built in 967ms
648
648
 
649
- > @orfium/ictinus@5.43.6 build:vanilla /home/runner/work/orfium-ictinus/orfium-ictinus/packages/ictinus
649
+ > @orfium/ictinus@5.43.7 build:vanilla /home/runner/work/orfium-ictinus/orfium-ictinus/packages/ictinus
650
650
  > rm -rf dist/vanilla && NODE_ENV=production rollup -c
651
651
 
652
652
  
@@ -657,4 +657,4 @@ computing gzip size...
657
657
  (!) Unresolved dependencies
658
658
  https://rollupjs.org/troubleshooting/#warning-treating-module-as-external-dependency
659
659
  csstype (imported by "node_modules/@vanilla-extract/css/dist/vanilla-extract-css.cjs.d.ts")
660
- created dist/vanilla in 3.7s
660
+ created dist/vanilla in 3.6s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @orfium/ictinus
2
2
 
3
+ ## 5.43.7
4
+
5
+ ### Patch Changes
6
+
7
+ - aa2cec7: fix right pinned columns position
8
+
3
9
  ## 5.43.6
4
10
 
5
11
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  "name": "@orfium/ictinus",
3
- "version": "5.43.6",
3
+ "version": "5.43.7",
4
4
  "type": "module",
5
5
  "main": "./dist/index.umd.cjs",
6
6
  "module": "./dist/index.js",
@@ -1,4 +1,4 @@
1
- const o = "5.43.6";
1
+ const o = "5.43.7";
2
2
  export {
3
3
  o as version
4
4
  };
@@ -1,3 +1,3 @@
1
- var version = "5.43.6";
1
+ var version = "5.43.7";
2
2
 
3
3
  export { version };
@@ -128,7 +128,7 @@ const DataTableBody = forwardRef(
128
128
  pinned: !!header.column.getIsPinned(),
129
129
  style: {
130
130
  ...assignInlineVars({
131
- [cellOffsetVar]: `${header.column.getStart(header.column.getIsPinned() || "left")}px`,
131
+ [cellOffsetVar]: `${header.column.getIsPinned() === "right" ? header.column.getAfter("right") : header.column.getStart(header.column.getIsPinned() || "left")}px`,
132
132
  [cellSizeVar]: `${header.getSize()}`
133
133
  })
134
134
  },
@@ -234,7 +234,7 @@ const DataTableBody = forwardRef(
234
234
  ...cellProps,
235
235
  style: {
236
236
  ...assignInlineVars({
237
- [cellOffsetVar]: `${cell$1.column.getStart("right")}px`,
237
+ [cellOffsetVar]: `${cell$1.column.getAfter("right")}px`,
238
238
  [cellSizeVar]: `${cell$1.column.getSize()}`
239
239
  }),
240
240
  ...cellProps?.style
@@ -83,7 +83,12 @@ const DataTableRow = forwardRef(
83
83
  }
84
84
  const { rows } = table.getRowModel();
85
85
  if (focusManaged && (event.key === "ArrowDown" || event.key === "ArrowUp")) {
86
- const nextIndex = event.key === "ArrowDown" ? highlightedIndex + 1 : highlightedIndex - 1;
86
+ let nextIndex = event.key === "ArrowDown" ? highlightedIndex + 1 : highlightedIndex - 1;
87
+ if (selector) {
88
+ while (nextIndex >= 0 && nextIndex <= rows.length - 1 && !rows[nextIndex].getCanSelect()) {
89
+ nextIndex += event.key === "ArrowDown" ? 1 : -1;
90
+ }
91
+ }
87
92
  if (nextIndex >= 0 && nextIndex <= rows.length - 1) {
88
93
  event.preventDefault();
89
94
  setHighlightedIndex(nextIndex);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orfium/ictinus",
3
- "version": "5.43.6",
3
+ "version": "5.43.7",
4
4
  "type": "module",
5
5
  "main": "./dist/index.umd.cjs",
6
6
  "module": "./dist/index.js",
@@ -159,7 +159,11 @@ export const DataTableBody = forwardRef<HTMLDivElement, DataTableBodyProps>(
159
159
  pinned={!!header.column.getIsPinned()}
160
160
  style={{
161
161
  ...assignInlineVars({
162
- [styles.cellOffsetVar]: `${header.column.getStart(header.column.getIsPinned() || 'left')}px`,
162
+ [styles.cellOffsetVar]: `${
163
+ header.column.getIsPinned() === 'right'
164
+ ? header.column.getAfter('right')
165
+ : header.column.getStart(header.column.getIsPinned() || 'left')
166
+ }px`,
163
167
  [styles.cellSizeVar]: `${header.getSize()}`,
164
168
  }),
165
169
  }}
@@ -297,7 +301,7 @@ export const DataTableBody = forwardRef<HTMLDivElement, DataTableBodyProps>(
297
301
  {...cellProps}
298
302
  style={{
299
303
  ...assignInlineVars({
300
- [styles.cellOffsetVar]: `${cell.column.getStart('right')}px`,
304
+ [styles.cellOffsetVar]: `${cell.column.getAfter('right')}px`,
301
305
  [styles.cellSizeVar]: `${cell.column.getSize()}`,
302
306
  }),
303
307
  ...cellProps?.style,
@@ -125,8 +125,19 @@ export const DataTableRow = forwardRef<HTMLTableRowElement, DataTableRowProps>(
125
125
 
126
126
  const { rows } = table.getRowModel();
127
127
  if (focusManaged && (event.key === 'ArrowDown' || event.key === 'ArrowUp')) {
128
- const nextIndex =
129
- event.key === 'ArrowDown' ? highlightedIndex + 1 : highlightedIndex - 1;
128
+ let nextIndex = event.key === 'ArrowDown' ? highlightedIndex + 1 : highlightedIndex - 1;
129
+
130
+ if (selector) {
131
+ // Skip locked rows
132
+ while (
133
+ nextIndex >= 0 &&
134
+ nextIndex <= rows.length - 1 &&
135
+ !rows[nextIndex].getCanSelect()
136
+ ) {
137
+ nextIndex += event.key === 'ArrowDown' ? 1 : -1;
138
+ }
139
+ }
140
+
130
141
  if (nextIndex >= 0 && nextIndex <= rows.length - 1) {
131
142
  event.preventDefault();
132
143
  setHighlightedIndex(nextIndex);