@kolkrabbi/kol-component 0.336.0 → 0.336.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolkrabbi/kol-component",
3
- "version": "0.336.0",
3
+ "version": "0.336.1",
4
4
  "description": "The core component library",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -29,8 +29,8 @@
29
29
  "embla-carousel-react": "^8.6.0",
30
30
  "pdfjs-dist": "^6.3.289",
31
31
  "react-syntax-highlighter": "^16.1.1",
32
- "@kolkrabbi/kol-growth": "^0.5.0",
33
32
  "@kolkrabbi/kol-search": "^0.3.0",
33
+ "@kolkrabbi/kol-growth": "^0.5.0",
34
34
  "@kolkrabbi/kol-markdown": "^0.2.0"
35
35
  },
36
36
  "peerDependencies": {
@@ -42,7 +42,7 @@
42
42
  "react-dom": "^18.3.0 || ^19.0.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@kolkrabbi/kol-icons": "^0.61.1"
45
+ "@kolkrabbi/kol-icons": "^0.63.0"
46
46
  },
47
47
  "files": [
48
48
  "src",
@@ -25,12 +25,12 @@ import { glyphSize } from '../hooks/glyphLadders.js'
25
25
  * @param {string} className - Extra classes on the wrapper
26
26
  */
27
27
  const ALIGN_BUTTONS = [
28
- { axis: 'h', mode: 'start', icon: 'align-horizontal-left', title: 'Align left' },
29
- { axis: 'h', mode: 'center', icon: 'align-horizontal-center', title: 'Align horizontal center' },
30
- { axis: 'h', mode: 'end', icon: 'align-horizontal-right', title: 'Align right' },
31
- { axis: 'v', mode: 'start', icon: 'align-vertical-top', title: 'Align top' },
32
- { axis: 'v', mode: 'center', icon: 'align-vertical-center', title: 'Align vertical center' },
33
- { axis: 'v', mode: 'end', icon: 'align-vertical-bottom', title: 'Align bottom' },
28
+ { axis: 'h', mode: 'start', icon: 'align-horizontal-left-solid', title: 'Align left' },
29
+ { axis: 'h', mode: 'center', icon: 'align-horizontal-center-solid', title: 'Align horizontal center' },
30
+ { axis: 'h', mode: 'end', icon: 'align-horizontal-right-solid', title: 'Align right' },
31
+ { axis: 'v', mode: 'start', icon: 'align-vertical-top-solid', title: 'Align top' },
32
+ { axis: 'v', mode: 'center', icon: 'align-vertical-center-solid', title: 'Align vertical center' },
33
+ { axis: 'v', mode: 'end', icon: 'align-vertical-bottom-solid', title: 'Align bottom' },
34
34
  ]
35
35
 
36
36
  export default function AlignmentGrid({ onAlign, items = ALIGN_BUTTONS, size = 'sm', className = '' }) {