@qld-gov-au/qgds-bootstrap5 1.0.8 → 1.0.9

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,14 +0,0 @@
1
- <div class="row row-cols-1 row-cols-md-3 g-4">
2
-
3
- {{#each cards}}
4
- <div class="col">
5
- <div class="card h-100">
6
- <img src="{{image}}" class="card-img-top" alt="{{alt}}">
7
- <div class="card-body">
8
- <h5 class="card-title">{{#if islink}} <a href="{{link}}"> {{title}} </a> {{else}} {{title}}{{/if}} </h5>
9
- <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
10
- </div>
11
- </div>
12
- </div>
13
- {{/each}}
14
- </div>
@@ -1,60 +0,0 @@
1
- // Blockquote.stories.js
2
- import { Cardblock } from './Cardblock.js';
3
- // import { Card } from './Card.js';
4
- import defaultdata from './cardblock.data.json';
5
-
6
- export default {
7
-
8
- tags: ['autodocs'],
9
- title: 'Components/Cardblock',
10
- render: (args) => new Cardblock(args).html,
11
-
12
- argTypes: {
13
- title: { // this object is configuring the field objects
14
- name: 'Title', // name of the field
15
- },
16
- description: {
17
- name: "Blank",
18
- description: "Bblank",
19
- control: {
20
- type: "select",
21
- },
22
- table: { // refers to the whole table in the storybook properties section
23
- disable: true, // completely removes this field
24
- },
25
- },
26
- // image: "assets/img/ds-example-image-1.jpg",
27
- // alt: "A photo of cliffs by the ocean with trees in the foreground",
28
- // link: "https://web.dev",
29
- // footer: false,
30
- classes: {
31
- name: "Classes",
32
- description: `Settable classes for the component`,
33
- control: {
34
- type: "radio",
35
- //tell it what options to show
36
- labels: {
37
- "": "Default",
38
- "card-alternative": "Alternative",
39
- "card-primary": "Dark",
40
- "card-primary--dark": "Dark alternative",
41
- },
42
- },
43
- options: [
44
- "", //default, we don't need additional classes
45
- "card-alternative",
46
- "card-primary",
47
- "card-primary--dark",
48
- ],
49
- },
50
- },
51
- };
52
-
53
- export const Default = {
54
- args: defaultdata,
55
- parameters: {
56
- backgrounds: { // from .storybook > preview.js
57
- default: "dark",
58
- },
59
- },
60
- };