@festo-ui/react 11.0.0-dev.962 → 11.0.0-dev.963

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.
@@ -8,7 +8,7 @@ const Button = /*#__PURE__*/ forwardRef(({ icon, type = 'button', disabled = fal
8
8
  }, {
9
9
  'fwe-disabled': disabled
10
10
  }, {
11
- 'fwe-btn-hero': primary && !tertiary
11
+ 'fwe-btn-primary': primary && !tertiary
12
12
  }, {
13
13
  'fwe-btn-tertiary': tertiary && !primary
14
14
  }, {
@@ -42,7 +42,7 @@ const AlertModal = /*#__PURE__*/ forwardRef(({ title, subtitle, alertType, stron
42
42
  type: "button",
43
43
  "aria-label": "Ok",
44
44
  className: classnames('fwe-btn fwe-btn-lg', {
45
- 'fwe-btn-hero': !strong
45
+ 'fwe-btn-primary': !strong
46
46
  }),
47
47
  onClick: onOk,
48
48
  children: ok
@@ -36,7 +36,7 @@ const ConfirmModal = /*#__PURE__*/ forwardRef(({ title, subtitle, cancel, ok, on
36
36
  ok && /*#__PURE__*/ jsx("button", {
37
37
  type: "button",
38
38
  "aria-label": "Ok",
39
- className: "fwe-btn fwe-btn-hero fwe-btn-lg",
39
+ className: "fwe-btn fwe-btn-primary fwe-btn-lg",
40
40
  onClick: onOk,
41
41
  children: ok
42
42
  })
@@ -49,7 +49,7 @@ const Prompt = /*#__PURE__*/ forwardRef(({ title, subtitle, hint, label, value,
49
49
  ok && /*#__PURE__*/ jsx("button", {
50
50
  type: "button",
51
51
  "aria-label": "Ok",
52
- className: "fwe-btn fwe-btn-hero fwe-btn-lg",
52
+ className: "fwe-btn fwe-btn-primary fwe-btn-lg",
53
53
  onClick: ()=>onOk(innerValue),
54
54
  children: ok
55
55
  })
@@ -191,7 +191,7 @@ Card component with header, body, and notifications.
191
191
  action={<button className="fwe-btn fwe-btn-icon">...</button>}
192
192
  />
193
193
  <CardBody text="Card text">
194
- <button className="fwe-btn fwe-btn-hero fwe-btn-block">Action</button>
194
+ <button className="fwe-btn fwe-btn-primary fwe-btn-block">Action</button>
195
195
  </CardBody>
196
196
  <CardNotification className="fwe-bg-orange" title="Warning" message="Details" />
197
197
  </Card>
@@ -386,7 +386,7 @@ Freely customizable dialog.
386
386
  <button type="button" className="fwe-btn fwe-btn-lg" onClick={() => setOpen(false)}>
387
387
  Cancel
388
388
  </button>
389
- <button className="fwe-btn fwe-btn-lg fwe-btn-hero" type="submit">
389
+ <button className="fwe-btn fwe-btn-lg fwe-btn-primary" type="submit">
390
390
  Submit
391
391
  </button>
392
392
  </div>
@@ -69,7 +69,7 @@ The library uses CSS classes with the prefix `fwe-`. Commonly used:
69
69
  - Layout: `fwe-grid`, `fwe-col-{n}`, `fwe-container`, `fwe-d-flex`
70
70
  - Spacing: `fwe-m-{size}`, `fwe-p-{size}`, `fwe-mt-{size}`, `fwe-mb-{size}`, `fwe-mr-{size}`, `fwe-ml-{size}`, `fwe-my-{size}`, `fwe-mx-{size}`
71
71
  - Sizes: `xxxs`, `xxs`, `xs`, `s`, `m`, `l`, `xl`, `xxl`
72
- - Buttons: `fwe-btn`, `fwe-btn-hero`, `fwe-btn-icon`, `fwe-btn-tertiary`, `fwe-btn-lg`, `fwe-btn-block`
72
+ - Buttons: `fwe-btn`, `fwe-btn-primary`, `fwe-btn-icon`, `fwe-btn-tertiary`, `fwe-btn-lg`, `fwe-btn-block`
73
73
  - Colors: `fwe-bg-white`, `fwe-bg-background`, `fwe-bg-black`, `fwe-bg-gray-300`, `fwe-color-red`
74
74
  - Flex: `fwe-align-items-center`, `fwe-mr-auto`, `fwe-ml-auto`
75
75
  - Table: `fwe-table`, `fwe-tr-sm`, `fwe-tr-md`, `fwe-tr-lg`
@@ -60,7 +60,7 @@ function handleSubmit(event) {
60
60
  <MultiSelect name="categories" label="Categories" options={catOptions} />
61
61
  <TimePicker name="meetingTime">Time</TimePicker>
62
62
  <Slider name="volume" min={0} max={100} value={50} label="Volume" />
63
- <button className="fwe-btn fwe-btn-hero" type="submit">
63
+ <button className="fwe-btn fwe-btn-primary" type="submit">
64
64
  Submit
65
65
  </button>
66
66
  </form>;
@@ -128,7 +128,7 @@ Many components support `hint` for help text:
128
128
 
129
129
  ```tsx
130
130
  <button className="fwe-btn">Default</button>
131
- <button className="fwe-btn fwe-btn-hero">Primary</button>
131
+ <button className="fwe-btn fwe-btn-primary">Primary</button>
132
132
  <button className="fwe-btn fwe-btn-lg">Large</button>
133
133
  <button className="fwe-btn fwe-btn-block">Full width</button>
134
134
  <button className="fwe-btn fwe-btn-icon"><Icon /></button>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@festo-ui/react",
3
- "version": "11.0.0-dev.962",
3
+ "version": "11.0.0-dev.963",
4
4
  "author": "Festo UI (styleguide@festo.com)",
5
5
  "copyright": "Copyright (c) 2025 Festo SE & Co. KG. All rights reserved.",
6
6
  "license": "apache-2.0",