@fpkit/acss 0.5.2 → 0.5.3

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
- [data-icon]{--icon-display: inline-flex;--icon-direction: row;--icons-placement: center;--icon-width: max-content;--icon-gap: 0.2rem;--icon-height: max-content;--icon-fs: inherit;display:var(--icon-display);flex-direction:var(--icon-direction);gap:var(--icon-gap);place-items:var(--icons-placement);width:var(--icon-width);height:var(--icon-height);font-size:var(--icon-fs)}/*# sourceMappingURL=icon.css.map */
1
+ [data-icon]{--icon-display: inline-flex;--icon-direction: row;--icons-placement: center;--icon-width: max-content;--icon-gap: 0.2rem;--icon-height: max-content;--icon-fs: inherit;display:var(--icon-display);flex-direction:var(--icon-direction);gap:var(--icon-gap);align-items:var(--icons-placement);width:var(--icon-width);height:var(--icon-height);font-size:var(--icon-fs)}/*# sourceMappingURL=icon.css.map */
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["../../../src/components/icons/icon.scss"],"names":[],"mappings":"AAAA,YACE,4BACA,sBACA,0BACA,0BACA,mBACA,2BACA,mBAEA,4BACA,qCACA,oBACA,mCACA,wBACA,0BACA","file":"icon.css"}
1
+ {"version":3,"sourceRoot":"","sources":["../../../src/components/icons/icon.scss"],"names":[],"mappings":"AAAA,YACE,4BACA,sBACA,0BACA,0BACA,mBACA,2BACA,mBAEA,4BACA,qCACA,oBACD,mCACC,wBACA,0BACA","file":"icon.css"}
@@ -1,3 +1,3 @@
1
- [data-icon]{--icon-display: inline-flex;--icon-direction: row;--icons-placement: center;--icon-width: max-content;--icon-gap: 0.2rem;--icon-height: max-content;--icon-fs: inherit;display:var(--icon-display);flex-direction:var(--icon-direction);gap:var(--icon-gap);place-items:var(--icons-placement);width:var(--icon-width);height:var(--icon-height);font-size:var(--icon-fs)}
1
+ [data-icon]{--icon-display: inline-flex;--icon-direction: row;--icons-placement: center;--icon-width: max-content;--icon-gap: 0.2rem;--icon-height: max-content;--icon-fs: inherit;display:var(--icon-display);flex-direction:var(--icon-direction);gap:var(--icon-gap);align-items:var(--icons-placement);width:var(--icon-width);height:var(--icon-height);font-size:var(--icon-fs)}
2
2
 
3
- /*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL2ljb25zL2ljb24uc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxZQUNFLDJCQUFBLENBQ0EscUJBQUEsQ0FDQSx5QkFBQSxDQUNBLHlCQUFBLENBQ0Esa0JBQUEsQ0FDQSwwQkFBQSxDQUNBLGtCQUFBLENBRUEsMkJBQUEsQ0FDQSxvQ0FBQSxDQUNBLG1CQUFBLENBQ0Esa0NBQUEsQ0FDQSx1QkFBQSxDQUNBLHlCQUFBLENBQ0Esd0JBQUEiLCJmaWxlIjoiaWNvbi5taW4uY3NzIn0= */
3
+ /*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL2ljb25zL2ljb24uc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxZQUNFLDJCQUFBLENBQ0EscUJBQUEsQ0FDQSx5QkFBQSxDQUNBLHlCQUFBLENBQ0Esa0JBQUEsQ0FDQSwwQkFBQSxDQUNBLGtCQUFBLENBRUEsMkJBQUEsQ0FDQSxvQ0FBQSxDQUNBLG1CQUFBLENBQ0Qsa0NBQUEsQ0FDQyx1QkFBQSxDQUNBLHlCQUFBLENBQ0Esd0JBQUEiLCJmaWxlIjoiaWNvbi5taW4uY3NzIn0= */
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fpkit/acss",
3
3
  "description": "A lightweight React UI library for building modern and accessible components that leverage CSS custom properties for reactive Styles.",
4
4
  "private": false,
5
- "version": "0.5.2",
5
+ "version": "0.5.3",
6
6
  "scripts": {
7
7
  "start": "run-p package:watch sass:watch",
8
8
  "dev": "vite --open",
@@ -122,5 +122,5 @@
122
122
  "publishConfig": {
123
123
  "access": "public"
124
124
  },
125
- "gitHead": "2278d7751dcd37ed1799b84773926d9b0268e329"
125
+ "gitHead": "392b1788de58234b532aae5cba632d0f0dead60f"
126
126
  }
@@ -10,7 +10,7 @@
10
10
  display: var(--icon-display);
11
11
  flex-direction: var(--icon-direction);
12
12
  gap: var(--icon-gap);
13
- place-items: var(--icons-placement);
13
+ align-items: var(--icons-placement);
14
14
  width: var(--icon-width);
15
15
  height: var(--icon-height);
16
16
  font-size: var(--icon-fs);
@@ -4,6 +4,7 @@ import type { Meta, StoryObj } from '@storybook/react'
4
4
 
5
5
  import { Button } from '#components/buttons/button'
6
6
  import { Icon } from './icon'
7
+ import Heading from '#components/heading/heading'
7
8
  import './icon.scss'
8
9
  import { I } from "vitest/dist/types-198fd1d9.js"
9
10
 
@@ -55,6 +56,19 @@ export const IconSizes = {
55
56
  },
56
57
  }
57
58
 
59
+ export const HeadingIcon = {
60
+ args: {},
61
+ render: (...args: any) => {
62
+ return (
63
+ <Heading type="h1">
64
+ <Icon>
65
+ <Icon.Code size={32} /> Code Icon
66
+ </Icon>
67
+ </Heading>
68
+ )
69
+ },
70
+ }
71
+
58
72
  export const IconButton = {
59
73
  args: {},
60
74
  render: (...args: any) => {
@@ -9,7 +9,7 @@
9
9
  display: var(--icon-display);
10
10
  flex-direction: var(--icon-direction);
11
11
  gap: var(--icon-gap);
12
- place-items: var(--icons-placement);
12
+ align-items: var(--icons-placement);
13
13
  width: var(--icon-width);
14
14
  height: var(--icon-height);
15
15
  font-size: var(--icon-fs);
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["../../components/icons/icon.scss"],"names":[],"mappings":"AAAA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA","file":"icon.css"}
1
+ {"version":3,"sourceRoot":"","sources":["../../components/icons/icon.scss"],"names":[],"mappings":"AAAA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACD;EACC;EACA;EACA","file":"icon.css"}