fictoan-react 1.2.4 → 1.2.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +625 -0
  2. package/package.json +75 -75
package/CHANGELOG.md ADDED
@@ -0,0 +1,625 @@
1
+ # CHANGELOG
2
+
3
+ ## 1.2.7
4
+ - Add `button-font` for each `kind` too
5
+
6
+ ## 1.2.6
7
+ - Fix `Button` active theme bug
8
+ - Add `button-font` via theme
9
+
10
+ ## 1.2.5
11
+ - Fix text colour for lists
12
+ - Add `height` prop for `Divider`
13
+
14
+ ## 1.2.4
15
+ - Add line numbers to `CodeBlock` component with `showLineNumbers` prop
16
+ - Add better token support
17
+ - Fix style overrides for `CodeBlock` component
18
+
19
+ ## 1.2.3
20
+ - Remove `as` prop from `Heading`, so you can now use `Heading1`, `Heading2` etc
21
+
22
+ ## 1.2.2
23
+ - Tweak `Range` styles
24
+
25
+ ## 1.2.1
26
+ - Add accessibility improvements for `Breadcrumbs`, and `Badge`
27
+
28
+ ## 1.2.0
29
+ - Add new `Meter` component
30
+
31
+ ## 1.1.1
32
+ - Fix `Breadcrumbs` style not loading
33
+ - Add resets for `Breadcrumbs` element
34
+
35
+ ## 1.1.0
36
+ - Add `OptionCard` component
37
+
38
+ ## 1.0.3
39
+ - Rename `HRule` to `Divider`
40
+
41
+ ## 1.0.2
42
+ - Rename `ExpandableContent` to `OptionCard`
43
+
44
+ ## 1.0.1
45
+ - Fix `Breadcrumbs` element type
46
+
47
+ ## 1.0.0
48
+ #### GENERIC CHANGES
49
+ - Move to Vite
50
+ - Move to `pnpm` for package management
51
+ - Remove `styled-components` as a dependency
52
+ - Adopt plain CSS for styling
53
+ - Support twice as many `defaultColours`
54
+ - Use `rem` units for font sizes
55
+ - Ability to set `Element` as a flexbox/grid div using `layoutAsFlexbox` and `layoutAsGrid`
56
+ - Add `horizontalPadding`, `verticalPadding`, `horizontalMargin`, and `verticalMargin`
57
+ - Add generic block-level sectioning elements as custom components. Eg `<Div>`, `<Section>`, `<Article>` etc
58
+ - Add copy code to clipboard for `CodeBlock`
59
+ - Add `RadioTabGroup` component
60
+ - Convert all millisecond values to seconds
61
+
62
+ #### ⚠️ BREAKING CHANGES ⚠️
63
+ - Remove `ThemeProvider` and `theme` prop from all components
64
+ - Refactor `Row` and `Portion` to use CSS Grid and Flexbox both
65
+ - Import, usage and extension of `CodeBlock`
66
+ - Remove `defaultColours` object as exported
67
+ - Remove `InfoPanel` and extend `Drawer` with `position` prop
68
+ - Rename `sidePadding` and `sideMargin` to `horizontalPadding` and `horizontalMargin`
69
+ - Rename `para` to `paragraph` in CSS variables
70
+ - Rename `FormWrapper` to `Form`
71
+ - Rename `CheckBox` to `Checkbox`
72
+ - Add consistent `showWhen`, `closeWhen` and `secondsToShowFor` props for transitory components
73
+
74
+ [//]: # (TODO: Make Fictoan more accessible)
75
+ [//]: # (TODO: ⚠️ Remove style tag in CodeBlock)
76
+ [//]: # (TODO: ⚠️ Fix TS issue in Select and SWS)
77
+ [//]: # (TODO: Fix Dismiss Button in NotifcationItem)
78
+ [//]: # (TODO: Add mask design to PinInputField)
79
+ [//]: # (TODO: Fix Sidebar scrolling issue)
80
+ [//]: # (TODO: Revamp BreadCrumbs?)
81
+ ~~[//]: # (TODO: ⚠️ Fix Meter height issue)~~
82
+
83
+
84
+ ---
85
+
86
+ ### 0.46.8
87
+ - Fix `focusFirstInputOnReset` prop behaviour to properly set focus on first input on reset
88
+
89
+ ### 0.46.7
90
+ - Export custom `PinInputFieldElementType` for supporting custom ref types in TypeScript
91
+
92
+ ### 0.46.5
93
+ - Add an imperative reset handler to reset `PinInputField` from the parent component with ref
94
+ - Add a `focusFirstInputOnReset` prop for the above change, to opt out of focusing on first input on reset
95
+
96
+ ### 0.45.5
97
+ - Add Tab component label prop to be used as reactnode for custom label
98
+
99
+ ### 0.45.4
100
+ - Fix PinInputField behaviour on paste or replace at position
101
+
102
+ ### 0.45.3
103
+ - Add optional `isDismissable` prop for showing a close button for `Drawer` *(true by default)*
104
+
105
+ ### 0.45.2
106
+ - Fix prop name for disable copy/paste to pasteFromClipboard which takes either enabled or disabled as parameters for `PinInput Field`
107
+
108
+ ### 0.45.1
109
+ - Export props types for all components
110
+ - Fix excess margin issue for `Tabs` labels
111
+ - Add toggle for disabling copy/paste functionality in the `PinInputField` component
112
+
113
+ ### 0.45.0
114
+ - Add support for defaultTabIndex props in `Tabs` component because by default it select first tab as active tab
115
+
116
+ ### 0.44.0
117
+ - Rename `style` prop for `Heading` and `Text` to `fontStyle` since `style` is a reserved
118
+ prop name in React and causes the react/style-prop-object eslint rule to complain in any
119
+ project with basic react-app rules setup.
120
+
121
+ ### 0.43.0
122
+ - Fix npm publish action workflow
123
+ - Fix unique key issue for `Tabs`
124
+
125
+ ### 0.42.3
126
+ - Update command for installing dependencies and build in CI
127
+
128
+ ### 0.42.2
129
+ - Fix broken npm publish action
130
+
131
+ ### 0.42.1
132
+ - Fix styling issues in `Tabs`
133
+
134
+ ### 0.42.0
135
+ - Padding and margin values can now be configured via the `globals` object in the theme
136
+ - Convert utility styles into JS file from plain CSS to access props
137
+ - Refactor `TablePagination` for better theme-ing
138
+ - Tweak `notification` theme object
139
+ - Add String() constructor to theme object values
140
+ - Fix a bunch of inconsistencies in theme values
141
+
142
+ ### 0.41.27
143
+ - ⚠ Breaking change: add `style` prop for `Heading` and `Text` to select font style.
144
+
145
+ ### 0.41.26
146
+ - Add support for passing additional items to the navbar for `Tabs`
147
+ - Update React peer dependency version
148
+
149
+ ### 0.41.25
150
+ - Export styled-components also from the project to allow component-wide over-rides
151
+
152
+ ### 0.41.24
153
+ - Convert `isMono`, `isSans` and `isSerif` to a `style` enum
154
+ - Fix `isSubtext` prop for text elements
155
+ - Fix cursor-pointer on hover for `ExpandableGroup`
156
+ - Add back the right margin bottoms for `FormItem` elements inside `FormItemGroup`
157
+ - Fix margin bottom for `Checkbox` and `Switch` inside a `Form`
158
+
159
+ ### 0.41.23
160
+ - Remove `line-height` property from `body` and apply it more specifically to text elements only
161
+
162
+ ### 0.41.22
163
+ - Add `InputField` invalid state text theme colour
164
+ - Rework text sizes progression
165
+ - Add reset styles for `picture`
166
+ - Add `weight` prop to `Element` to be used in `span` elements
167
+ - Add types for possible font weight values
168
+
169
+ ### 0.41.19
170
+ - Fix `disabled` styling for `InputField`
171
+
172
+ ### 0.41.18
173
+ - Remove style overrides in Tabs component
174
+
175
+ ### 0.41.17
176
+ - Add `closeOnClickOutside` prop for `InfoPanel` & `Drawer`
177
+
178
+ ### 0.41.16
179
+ - Fix wrong font value for links in theme file
180
+
181
+ ### 0.41.15
182
+ - `Drawer` overlay is now theme-able and style-able with props
183
+
184
+ ### 0.41.14
185
+ - Overhaul `Drawer` to now come with a page overlay
186
+
187
+ ### 0.41.13
188
+ - Add span types for `Portion`
189
+
190
+ ### 0.41.11
191
+ - Add `spacing` prop for `PinInputField`
192
+
193
+ ### 0.41.10
194
+ - Add separate theme object for `Drawer`
195
+
196
+ ### 0.41.9
197
+ - Allow controlling auto-focus behaviour for `PinInputField`
198
+
199
+ ### 0.41.8
200
+ - Add ability to theme disabled states for `primary`, `secondary` and `tertiary` buttons separately
201
+
202
+ ### 0.41.7
203
+ - Add different letter spacing values for empty and filled `input[type=password]`
204
+
205
+ ### 0.41.6
206
+ - Fix `InputField` text colour dark theme bug
207
+
208
+ ### 0.41.5
209
+ - Add `spacing` and `retainLayout` props for `FormItemGroup`
210
+
211
+ ### 0.41.4
212
+ - Fix bug in `onChange` implementation for `PinInputField`
213
+
214
+ ### 0.41.3
215
+ - Fix missing font family for `hepText` and `errorText`
216
+
217
+ ### 0.41.2
218
+ - Replace `onComplete` with `onChange` callback for `PinInputField`
219
+
220
+ ### 0.41.1
221
+ - Add `PinInputField` component
222
+
223
+ ### 0.40.0
224
+ - Add `Drawer` component
225
+
226
+ ### 0.39.3
227
+ - Rename `timeout` prop for `Drawer` and `NotificationItem` to `showFor`
228
+ - Fix `Select` border-radius bug
229
+
230
+ ### 0.39.2
231
+ - Move `unit` prop in the `Meter` from being displayed via CSS to markup
232
+
233
+ ### 0.39.1
234
+ - Tweak `Badge` padding values
235
+
236
+ ### 0.39.0
237
+ - Fix `Badge` line height bug
238
+ - Fix `Switch` theme colour mismatch
239
+
240
+ ### 0.38.3
241
+ - Tweak `Badge` padding values
242
+
243
+ ### 0.38.2
244
+ - Fix `Badge` height bug
245
+
246
+ ### 0.38.1
247
+ - Add opinionated defaults for `mark` element
248
+
249
+ ### 0.38.0
250
+ - Add `Badge` component
251
+
252
+ ### 0.37.1
253
+ - Rename `Toast` to `Drawer` for better consistency
254
+
255
+ ### 0.37.0
256
+ - Add `Toast` component
257
+
258
+ ### 0.36.4
259
+ - Add `horizontallyCentreThis`, `horizontallyCenterThis`, `verticallyCentreItems`, `verticallyCenterItems`, `pushItemsToEnds` as props instead of class names
260
+
261
+ ### 0.36.3
262
+ - Fix `Select` border-radius inheritance bug
263
+ - Fix `SidebarItemText` hover state text colour
264
+
265
+ ### 0.36.2
266
+ - Fix inconsistent `tabLS` and `tabPT` props
267
+
268
+ ### 0.36.1
269
+ - Add types for `Element`’s `as` attribute
270
+
271
+ ### 0.36.0
272
+ - Fix text colour for nested links in sidebar for better differentiation
273
+ - Fix typo in `portionProps`
274
+ - Refactor sidebar theme object hierarchy for links and sublinks, remove `linksWrapper` object
275
+ - Mention `styled-components` requirement in the README
276
+
277
+ ### 0.35.4
278
+ - Rename `tabLS` to `tabletLandscape` and `tabPT` to `tabletPortrait` for more consistency with the naming scheme and less ambiguity.
279
+
280
+ ### 0.35.3
281
+ - Fix focus states for checkbox, switch, radio and select
282
+
283
+ ### 0.35.2
284
+ - Fix theme throwing error on colour overrides
285
+ - Add custom colours to ColorPropsType and export it from library
286
+ - Fix InputField element type
287
+
288
+ ### 0.35.0
289
+
290
+ **General**
291
+ - Add Storybook for easy testing and documentation
292
+ - Each component folder now contains a `<component_name>.stories.tsx` (to create stories) and `<component_name>.stories.mdx` (to write docs) file
293
+ - Add make commands for easy creation of components
294
+ - Remove `name` props from RadioGroup `options` type; Add `label` and `id`
295
+ - Remove `as` from RadioButton and Checkbox props
296
+ - Make `shadow` a global prop
297
+ - Make `shape` a global prop
298
+ - Add `ExpandableContent` component which implements details and summary tags
299
+ - Add `Tag` component
300
+ - Add `opacity` as a global prop
301
+ - Divider now supports custom background colors
302
+ - Add `hr.default` to theme
303
+ - All colour props are now typed
304
+ - Add command (`make color-props`) to generate colour props from default colors
305
+
306
+ **Form improvements**
307
+ - Remove `isAnswers` prop from FormItem
308
+ - Remove FormItemJointGroup component
309
+ - Add `isJoint` prop to FormItemGroup
310
+ - Remove Extra spacing after FormItemGroup
311
+ - Add `fields` and `onFieldsChange` prop to Form to allow form creation using an array of config 🎉
312
+ - RadioGroup and Select now use BaseInputComponent
313
+ - Add better and consistent help & error text for each form field
314
+ - Make InputLabel atomic
315
+ - Add error text for Form which uses Callout component
316
+ - Add sizes to Switch component
317
+ - Make Select chevron consistent with ExpandableContent
318
+ - Make required and disabled states consistent in form fields
319
+ - Remove `name` props from RadioGroup `options` type; Add `label` and `id`
320
+
321
+ **Sidebar improvements**
322
+ - Remove `isSticky` from Sidebar footer
323
+ - `sidebar.body.bg` is now `sidebar.bg` in theme
324
+ - Add sidebar width properties to theme; SidebarHeader, SidebarFooter and SidebarItem span 100% automatically
325
+ - Remove `isSticky` from SidebarFooter, it always sticks to bottom
326
+ - Remove SidebarLink, SidebarNestedLinks and SidebarLinksWrapper
327
+ - Make SidebarHeader and SidebarFooter sticky instead of fixed to get simpler and consistent sidebar layout
328
+ - Remove `sidebar.linksWrapper.marginTop` and `sidebar.linksWrapper.marginBottom` from theme
329
+ - Remove SidebarItemsGroup and SidebarItemsGroupHeader
330
+
331
+ **New components**
332
+ - Tooltip (very basic, might overflow screens)
333
+ - Callout
334
+ - ExpandableContent
335
+ - Tag
336
+
337
+ **Removed components**
338
+ - FormItemJointGroup
339
+ - SidebarLink
340
+ - SidebarNestedLinks
341
+ - SidebarLinksWrapper
342
+ - SidebarItemsGroup
343
+ - SidebarItemsGroupHeader
344
+
345
+ ## BREAKING CHANGES ⚠️
346
+
347
+ - Inside theme:
348
+ - `inputField.default.helpText` is now `inputField.onFocus.helpText`
349
+ - `inputField.isInvalid.helpText` is now `inputField.isInvalid.errorText`
350
+ - `sidebar.body.bg` is now `sidebar.bg`
351
+ - `sidebar.linksWrapper.marginTop` and `sidebar.linksWrapper.marginBottom` have been removed
352
+ - Remove `isSticky` from SidebarFooter
353
+ - It always sticks to bottom
354
+ - Remove FormItemJointGroup
355
+ - Use `isJoint` prop inside FormItemGroup instead
356
+ - Remove SidebarLink, SidebarNestedLinks and SidebarLinksWrapper
357
+ - Remove SidebarItemsGroup and SidebarItemsGroupHeader
358
+ - Use ExpandableContent component instead
359
+ - Default Switch size now `medium` which is larger than before
360
+ - Set to size `small` for old size
361
+
362
+ ### 0.34.0
363
+ - Replace `react-syntax-highlighter` with `prism-react-renderer`
364
+ - Add simple wrappers for `prism-components` to import specific languages from `prismjs`
365
+ - Fix CodeBlock erratic output issue
366
+
367
+ ### 0.33.15
368
+ - Fix `spinner` padding
369
+
370
+ ### 0.33.14
371
+ - Add `Spinner` component
372
+
373
+ ### 0.33.12
374
+ - Remove `Element` props being passed to all HTML elements as attributes
375
+ - Fix Badge `is-loading` colours
376
+
377
+ ### 0.33.11
378
+ - Fix transition for `SidebarHeader`
379
+
380
+ ### 0.33.10
381
+ - Add `isSticky` prop for `SidebarHeader` and `SidebarFooter`
382
+ - Add new component `SidebarLinksWrapper` to better manage `SidebarHeader` and `SidebarFooter`
383
+
384
+ ### 0.33.9
385
+ - Fix `polished` imports
386
+
387
+ ### 0.33.8
388
+ ## BREAKING CHANGES ⚠️
389
+
390
+ - Breadcrumbs
391
+ - `BreadcrumbWrapper` renamed to `Breadcrumbs`
392
+ - The `separator` is now configurable in the theme file
393
+
394
+ - Badge
395
+ - `isLoading` class now works for `custom` kind buttons also
396
+ - Fix padding inconsistencies
397
+ - `with-loader` and `with-delete` classes renamed to `is-loading` and `has-delete`
398
+
399
+ - Form elements
400
+ - `input` theme object is now `inputField`
401
+ - `Checkbox`, `RadioButton`, `Select` etc have been moved out from inside `input`
402
+
403
+ - InfoPanel
404
+ - Dismiss button now styled differently, and does not interfere with the content
405
+
406
+ - Notifications
407
+ - The `type` prop is now `kind` to be more consistent with the rest of the components
408
+ - `onClose` is renamed to `onCloseCallback`
409
+ - `NotificationWrapper` has a `order` prop to set the stacking order of `NotificationItem` children
410
+
411
+ - Meter
412
+ - `isThin` prop is deprecated in favour of a far more flexible `height` prop
413
+ - `shape` prop is now available just like the `Badge`
414
+
415
+ - The theme object is now called `FictoanTheme`
416
+
417
+ ### 0.33.7
418
+ - Fix types for `CodeBlock`, `BaseInputElement`, `Meter`, `TextArea`, and `Select`.
419
+
420
+ ### 0.33.6
421
+ - Add autoprefixer to add vendor styles to CSS
422
+
423
+ ### 0.33.5
424
+ - Fix `alignText` styling for `Table` 😬
425
+
426
+ ### 0.33.4
427
+ - Add `alignText` prop for `Table`
428
+
429
+ ### 0.33.3
430
+ - Fix npm publish bug
431
+
432
+ ### 0.33.2
433
+ - Fix CSS overrides for all components
434
+
435
+ ### 0.33.1
436
+ - Support heading in `InfoPanel`
437
+
438
+ ### 0.33.0
439
+ - Replace lodash with lodash-es for tree shaking
440
+ - Bump rollup to 2.52.7
441
+ - Replace `prism-react-renderer` and `prismjs` with `react-syntax-highlighter` which is more customizable and tree-shakable
442
+ - Add `@rollup/plugin-babel` to add /_#**PURE**_/ prefix to `React.forwardRef` which is required for tree-shaking
443
+ - Add CSS files for Normalize, Reset, Colours and Utility to move static styles out of JS. Injecting to head tag using `rollup-plugin-styles`
444
+ - Programmatically generate Colours.styled.tsx classes (To be added to build flow soon)
445
+
446
+ ### 0.32.14
447
+ - Fix crash in tabs component
448
+
449
+ ### 0.32.13
450
+ - Simplify TablePagination component (breaking)
451
+
452
+ ### 0.32.10
453
+ - Add TablePagination component
454
+
455
+ ### 0.32.9
456
+ - Fix `InfoPanel` close button fixed position bug
457
+
458
+ ### 0.32.7
459
+ - Cap `sidePadding` and `sideMargin` for `Row` and `Divider` in ultra-wide res displays above 2400px
460
+
461
+ ### 0.32.5
462
+ - Add @emotion/is-prop-valid as an optional dependency
463
+
464
+ ### 0.32.3
465
+ - Add ability to set Sidebar logo width via the theme
466
+
467
+ ### 0.32.1
468
+ - Add Tabs component
469
+
470
+ ### 0.31.22
471
+ - Remove opinionated `ul`, `ol`, and `li` styles
472
+
473
+ ### 0.31.21
474
+ - Add opinionated version of Normalize.css
475
+
476
+ ### 0.31.20
477
+ - Remove Normalize.css
478
+
479
+ ### 0.31.19
480
+ - Add theme variables for `RadioButton`, `Checkbox` and `ToggleSwitch`
481
+
482
+ ### 0.31.18
483
+ - Upgrade to React 17.0.1
484
+ - Tweak colour and font family for other input elements
485
+
486
+ ### 0.31.17
487
+ - Change `fontFamily` to `font` for `Badge` component
488
+ - Fix font fallback styling inconsistency for labels, tables, and links
489
+
490
+ ### 0.31.16
491
+ - Rework Notification component
492
+
493
+ ### 0.31.15
494
+ - Fix `bg` of `SidebarWrapper`
495
+
496
+ ### 0.31.13
497
+ - Add `size` property for `SidebarItemIcon` to be picked from theme file
498
+
499
+ ### 0.31.12
500
+ - Add `font-family` to tables, and inherit from body font
501
+
502
+ ### 0.31.11
503
+ - Remove improper colour override for dark sidebar theme
504
+
505
+ ### 0.31.10
506
+ - Move React & styled-components to peerDependencies
507
+
508
+ ### 0.31.8
509
+ - Switch to useState & useEffect for merging theme
510
+
511
+ ### 0.31.7
512
+ - Fix Drawer theme issue for setting `borderRadius`
513
+
514
+ ### 0.31.6
515
+ - Fix broken builds (0.31.2 - 0.31.5)
516
+
517
+ ### 0.31.2
518
+ - Set ThemeType to recursive optional typeof RFTheme
519
+
520
+ ### 0.31.1
521
+ - Export `StaticGlobalStyles`
522
+
523
+ ### 0.31.0
524
+ - Add support for passing `refs`
525
+
526
+ ### 0.30.14
527
+ - Upgrade `styled-components` from `5.0.1` to `5.1.1` for Jest reasons
528
+
529
+ ### 0.30.13
530
+ - Add `tertiary` button
531
+
532
+ ### 0.30.12
533
+ - Add `transparent` as a `defaultColour`
534
+
535
+ ### 0.30.11
536
+ - Fix incorrect centering rule
537
+
538
+ ### 0.30.10
539
+ - Make `borderRadius` themeable for cards and input fields
540
+
541
+ ### 0.30.9
542
+ - Rename `baseColors` to `defaultColours`, and `mainColors` to `customColours`
543
+
544
+ ### 0.30.8
545
+ - Memoize theme prop in ThemeProvider
546
+
547
+ ### v0.30.7
548
+ - Add missing props for theming some elements
549
+
550
+ ### v0.30.6
551
+ - Add merge to reduce size of custom overrides
552
+
553
+ ### v0.30.5
554
+ - Fix `a` tag hover colour bug
555
+
556
+ ### v0.30.4
557
+ - Fix type bug that wouldn’t let `paras` inherit `font-family`
558
+
559
+ ### v0.30.3
560
+ - Fix lodash `merge` speed issue
561
+
562
+ ### v0.30.0
563
+ - Remove static CSS classes from `GlobalStyles`
564
+
565
+ ### v0.29.3
566
+ - Rename `Textarea` to `TextArea`
567
+
568
+ ### v0.29.2
569
+ - Add media queries for `InfoPanel` below `1200px` to handle `width` prop
570
+
571
+ ### v0.29.1
572
+ - Add `primary`, `secondary`, and `tertiary` props for the `Divider` element
573
+
574
+ ### v0.29.0
575
+ - Add `bgColour`, `textColour`, `borderColour`, `strokeColour` and `fillColour` props with British English
576
+
577
+ ### v0.28.7
578
+ - Add `spring`, `brick` and `sienna` colour values
579
+
580
+ ### v0.28.5
581
+ - Fix `FormItem` margin bottom bug inside `FormItemGroup`
582
+
583
+ ### v0.28.4
584
+ - Add `nano` and `micro` sizing for Text
585
+
586
+ ### v0.28.3
587
+ - Tweak links theme styling
588
+ - `links.default.text` is now `links.default.color`
589
+ - `links.onHover.text` is now `links.onHover.color`
590
+
591
+ ### v0.28.2
592
+ - Fix Textarea styling bug
593
+ - Add `nano` and `micro` text sizes
594
+ - Text theme tweaks
595
+ - `size` object deprecated
596
+ - `size.default` is now `paras.size`
597
+ - `size.multiplier` is now `headings.multiplier`
598
+
599
+ ### v0.27.0
600
+ - Add props for Meter to display a label and value
601
+
602
+ ### v0.23.8
603
+ - Remove all SCSS files
604
+ - Remove unused svg icon
605
+ - Move `theme` to `styles` folder
606
+
607
+ ### v0.23.7
608
+ - Use relative path everywhere
609
+
610
+ ### v0.23.6
611
+ - Generate typings
612
+
613
+ ### v0.23.5
614
+ - Upgrade all packages
615
+
616
+ ### v0.21.2
617
+ - Update styled components
618
+ - Remove unused component `EventHandler`
619
+ - Fix rollup dependencies
620
+
621
+ ### v0.21.1
622
+ - Add `onCloseButtonClick` prop in `NotificationItem`
623
+
624
+ ### v0.21.0
625
+ - Code cleanup
package/package.json CHANGED
@@ -1,79 +1,79 @@
1
1
  {
2
- "name": "fictoan-react",
3
- "version": "1.2.4",
4
- "private": false,
5
- "description": "",
6
- "type": "module",
7
- "sideEffects": [
8
- "**/*.css"
9
- ],
10
- "files": [
11
- "dist"
12
- ],
13
- "main": "./dist/index.cjs",
14
- "module": "./dist/index.js",
15
- "exports": {
16
- ".": {
17
- "import": "./dist/index.js",
18
- "require": "./dist/index.cjs"
2
+ "name": "fictoan-react",
3
+ "version": "1.2.7",
4
+ "private": false,
5
+ "description": "",
6
+ "type": "module",
7
+ "sideEffects": [
8
+ "**/*.css"
9
+ ],
10
+ "files": [
11
+ "dist"
12
+ ],
13
+ "main": "./dist/index.cjs",
14
+ "module": "./dist/index.js",
15
+ "exports": {
16
+ ".": {
17
+ "import": "./dist/index.js",
18
+ "require": "./dist/index.cjs"
19
+ },
20
+ "./components": {
21
+ "import": "./dist/components/index.js",
22
+ "require": "./dist/components/index.cjs"
23
+ },
24
+ "./dist/": "./dist/"
19
25
  },
20
- "./components": {
21
- "import": "./dist/components/index.js",
22
- "require": "./dist/components/index.cjs"
26
+ "scripts": {
27
+ "preinstall": "npx only-allow pnpm",
28
+ "storybook": "storybook dev -p 6006",
29
+ "watch": "vite build --watch",
30
+ "build": "tsc && vite build",
31
+ "build:umd": "tsc && vite build -c vite.config.umd.js",
32
+ "build:storybook": "storybook build",
33
+ "tree-shake": "agadoo",
34
+ "test": "echo \"Error: no test specified\" && exit 1"
23
35
  },
24
- "./dist/": "./dist/"
25
- },
26
- "keywords": [],
27
- "author": "",
28
- "license": "MIT",
29
- "devDependencies": {
30
- "@babel/preset-env": "^7.23.6",
31
- "@babel/preset-react": "^7.23.3",
32
- "@rollup/plugin-terser": "^0.4.4",
33
- "@storybook/addon-essentials": "^7.6.6",
34
- "@storybook/addon-interactions": "^7.6.6",
35
- "@storybook/addon-links": "^7.6.6",
36
- "@storybook/addon-onboarding": "^1.0.10",
37
- "@storybook/blocks": "^7.6.6",
38
- "@storybook/react": "^7.6.6",
39
- "@storybook/react-vite": "^7.6.6",
40
- "@storybook/test": "^7.6.6",
41
- "@types/react": "^18.2.45",
42
- "@vitejs/plugin-react": "^4.2.1",
43
- "agadoo": "^3.0.0",
44
- "autoprefixer": "^10.4.16",
45
- "babel-plugin-transform-react-remove-prop-types": "^0.4.24",
46
- "glob": "^10.3.10",
47
- "postcss-nesting": "^12.0.2",
48
- "prism-react-renderer": "2.3.1",
49
- "react": "^18.2.0",
50
- "react-dom": "^18.2.0",
51
- "rollup-plugin-visualizer": "^5.11.0",
52
- "sass": "^1.69.5",
53
- "storybook": "^7.6.6",
54
- "typescript": "^5.3.3",
55
- "vite": "^5.0.10",
56
- "vite-plugin-dts": "^3.6.4",
57
- "vite-plugin-lib-inject-css": "^1.3.0",
58
- "vite-plugin-svgr": "^4.2.0"
59
- },
60
- "peerDependencies": {
61
- "prism-react-renderer": ">=2.0.0",
62
- "react": "^18.2.0"
63
- },
64
- "peerDependenciesMeta": {
65
- "prism-react-renderer": {
66
- "optional": true
36
+ "keywords": [],
37
+ "author": "",
38
+ "license": "MIT",
39
+ "devDependencies": {
40
+ "@babel/preset-env": "^7.23.6",
41
+ "@babel/preset-react": "^7.23.3",
42
+ "@rollup/plugin-terser": "^0.4.4",
43
+ "@storybook/addon-essentials": "^7.6.6",
44
+ "@storybook/addon-interactions": "^7.6.6",
45
+ "@storybook/addon-links": "^7.6.6",
46
+ "@storybook/addon-onboarding": "^1.0.10",
47
+ "@storybook/blocks": "^7.6.6",
48
+ "@storybook/react": "^7.6.6",
49
+ "@storybook/react-vite": "^7.6.6",
50
+ "@storybook/test": "^7.6.6",
51
+ "@types/react": "^18.2.45",
52
+ "@vitejs/plugin-react": "^4.2.1",
53
+ "agadoo": "^3.0.0",
54
+ "autoprefixer": "^10.4.16",
55
+ "babel-plugin-transform-react-remove-prop-types": "^0.4.24",
56
+ "glob": "^10.3.10",
57
+ "postcss-nesting": "^12.0.2",
58
+ "prism-react-renderer": "2.3.1",
59
+ "react": "^18.2.0",
60
+ "react-dom": "^18.2.0",
61
+ "rollup-plugin-visualizer": "^5.11.0",
62
+ "sass": "^1.69.5",
63
+ "storybook": "^7.6.6",
64
+ "typescript": "^5.3.3",
65
+ "vite": "^5.0.10",
66
+ "vite-plugin-dts": "^3.6.4",
67
+ "vite-plugin-lib-inject-css": "^1.3.0",
68
+ "vite-plugin-svgr": "^4.2.0"
69
+ },
70
+ "peerDependencies": {
71
+ "prism-react-renderer": ">=2.0.0",
72
+ "react": "^18.2.0"
73
+ },
74
+ "peerDependenciesMeta": {
75
+ "prism-react-renderer": {
76
+ "optional": true
77
+ }
67
78
  }
68
- },
69
- "scripts": {
70
- "preinstall": "npx only-allow pnpm",
71
- "storybook": "storybook dev -p 6006",
72
- "watch": "vite build --watch",
73
- "build": "tsc && vite build",
74
- "build:umd": "tsc && vite build -c vite.config.umd.js",
75
- "build:storybook": "storybook build",
76
- "tree-shake": "agadoo",
77
- "test": "echo \"Error: no test specified\" && exit 1"
78
- }
79
- }
79
+ }