@dolanske/vui 0.3.4 → 0.4.0

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 (110) hide show
  1. package/LICENSE +673 -673
  2. package/README.md +49 -40
  3. package/dist/components/Dropdown/DropdownItem.vue.d.ts +1 -0
  4. package/dist/style.css +1 -1
  5. package/dist/vui.js +864 -859
  6. package/package.json +68 -68
  7. package/src/App.vue +198 -175
  8. package/src/components/Accordion/Accordion.vue +91 -91
  9. package/src/components/Accordion/AccordionGroup.vue +43 -43
  10. package/src/components/Accordion/accordion.scss +80 -80
  11. package/src/components/Alert/Alert.vue +53 -53
  12. package/src/components/Alert/alert.scss +80 -80
  13. package/src/components/Avatar/Avatar.vue +50 -50
  14. package/src/components/Avatar/avatar.scss +52 -52
  15. package/src/components/Badge/Badge.vue +21 -21
  16. package/src/components/Badge/badge.scss +89 -89
  17. package/src/components/Breadcrumbs/BreadcrumbItem.vue +26 -26
  18. package/src/components/Breadcrumbs/Breadcrumbs.vue +33 -33
  19. package/src/components/Breadcrumbs/breadcrumbs.scss +30 -30
  20. package/src/components/Button/Button.vue +90 -90
  21. package/src/components/Button/button.scss +176 -176
  22. package/src/components/ButtonGroup/ButtonGroup.vue +25 -25
  23. package/src/components/ButtonGroup/button-group.scss +51 -51
  24. package/src/components/Calendar/Calendar.vue +60 -60
  25. package/src/components/Calendar/calendar.scss +56 -56
  26. package/src/components/Card/Card.vue +48 -48
  27. package/src/components/Card/card.scss +53 -53
  28. package/src/components/Checkbox/Checkbox.vue +52 -52
  29. package/src/components/Checkbox/checkbox.scss +66 -66
  30. package/src/components/CopyClipboard/CopyClipboard.vue +82 -82
  31. package/src/components/CopyClipboard/copy-clipboard.scss +17 -17
  32. package/src/components/Divider/Divider.vue +44 -44
  33. package/src/components/Divider/divider.scss +35 -35
  34. package/src/components/Drawer/Drawer.vue +97 -97
  35. package/src/components/Drawer/drawer.scss +36 -36
  36. package/src/components/Dropdown/Dropdown.vue +111 -111
  37. package/src/components/Dropdown/DropdownItem.vue +32 -29
  38. package/src/components/Dropdown/DropdownTitle.vue +8 -8
  39. package/src/components/Dropdown/dropdown.scss +118 -117
  40. package/src/components/Flex/Flex.vue +110 -106
  41. package/src/components/Grid/Grid.vue +57 -54
  42. package/src/components/Input/Counter.vue +70 -70
  43. package/src/components/Input/Dropzone.vue +65 -65
  44. package/src/components/Input/File.vue +15 -15
  45. package/src/components/Input/Input.vue +121 -121
  46. package/src/components/Input/Password.vue +47 -47
  47. package/src/components/Input/Textarea.vue +76 -76
  48. package/src/components/Input/input.scss +208 -208
  49. package/src/components/Kbd/Kbd.vue +48 -48
  50. package/src/components/Kbd/KbdGroup.vue +31 -31
  51. package/src/components/Kbd/kbd.scss +18 -18
  52. package/src/components/Modal/Confirm.vue +56 -56
  53. package/src/components/Modal/Modal.vue +91 -91
  54. package/src/components/Modal/modal.scss +49 -49
  55. package/src/components/OTP/OTP.vue +133 -133
  56. package/src/components/OTP/OTPItem.vue +37 -37
  57. package/src/components/OTP/otp.scss +83 -83
  58. package/src/components/Pagination/Pagination.vue +74 -74
  59. package/src/components/Pagination/pagination.ts +78 -78
  60. package/src/components/Popout/Popout.vue +42 -42
  61. package/src/components/Popout/popout.scss +8 -8
  62. package/src/components/Progress/Progress.vue +90 -90
  63. package/src/components/Progress/progress.scss +41 -41
  64. package/src/components/Radio/Radio.vue +36 -36
  65. package/src/components/Radio/RadioGroup.vue +40 -40
  66. package/src/components/Radio/radio.scss +59 -59
  67. package/src/components/Select/Select.vue +180 -180
  68. package/src/components/Select/select.scss +44 -44
  69. package/src/components/Sheet/Sheet.vue +92 -92
  70. package/src/components/Sheet/sheet.scss +60 -60
  71. package/src/components/Sidebar/Sidebar.vue +85 -0
  72. package/src/components/Sidebar/sidebar.scss +123 -0
  73. package/src/components/Skeleton/Skeleton.vue +43 -43
  74. package/src/components/Skeleton/skeleton.scss +14 -14
  75. package/src/components/Spinner/Spinner.vue +42 -42
  76. package/src/components/Spinner/spinner.scss +46 -46
  77. package/src/components/Switch/Switch.vue +30 -30
  78. package/src/components/Switch/switch.scss +52 -52
  79. package/src/components/Table/Cell.vue +23 -23
  80. package/src/components/Table/Header.vue +59 -59
  81. package/src/components/Table/Row.vue +9 -9
  82. package/src/components/Table/SelectAll.vue +23 -23
  83. package/src/components/Table/SelectRow.vue +29 -29
  84. package/src/components/Table/Table.vue +66 -66
  85. package/src/components/Table/table.scss +134 -134
  86. package/src/components/Table/table.ts +244 -244
  87. package/src/components/Tabs/Tab.vue +27 -27
  88. package/src/components/Tabs/Tabs.vue +82 -82
  89. package/src/components/Tabs/tabs.scss +79 -79
  90. package/src/components/Toast/Toasts.vue +47 -47
  91. package/src/components/Toast/toast.scss +41 -41
  92. package/src/components/Toast/toast.ts +68 -68
  93. package/src/components/Tooltip/Tooltip.vue +86 -86
  94. package/src/components/Tooltip/tooltip.scss +4 -4
  95. package/src/index.scss +1 -1
  96. package/src/index.ts +119 -119
  97. package/src/internal/Backdrop/Backdrop.vue +22 -22
  98. package/src/internal/Backdrop/backdrop.scss +28 -28
  99. package/src/main.ts +5 -5
  100. package/src/shared/helpers.ts +74 -74
  101. package/src/shared/types.ts +29 -29
  102. package/src/style/animation.scss +21 -21
  103. package/src/style/core.scss +148 -148
  104. package/src/style/fonts.scss +53 -53
  105. package/src/style/layout.scss +136 -136
  106. package/src/style/media-query.scss +29 -29
  107. package/src/style/reset.scss +135 -135
  108. package/src/style/tooltip.scss +128 -128
  109. package/src/style/typography.scss +338 -338
  110. package/src/style/utils.scss +36 -36
package/package.json CHANGED
@@ -1,68 +1,68 @@
1
- {
2
- "name": "@dolanske/vui",
3
- "type": "module",
4
- "version": "0.3.4",
5
- "private": false,
6
- "description": "Brother in Christ there's a new UI library ",
7
- "author": "dolanske",
8
- "license": "GPL-3.0",
9
- "sass": "src/index.scss",
10
- "repository": {
11
- "type": "git",
12
- "url": "https://github.com/dolanske/vui.git"
13
- },
14
- "keywords": [
15
- "vue",
16
- "vue3",
17
- "component"
18
- ],
19
- "exports": {
20
- ".": {
21
- "types": "./dist/index.d.ts",
22
- "import": "./dist/vui.js"
23
- },
24
- "./style": {
25
- "import": "./dist/style.css",
26
- "require": "./dist/style.css",
27
- "default": "./dist/style.css"
28
- }
29
- },
30
- "main": "./dist/vuicjs",
31
- "module": "./dist/vui.js",
32
- "browser": "./dist/vui.js",
33
- "unpkg": "./dist/vui.js",
34
- "types": "./dist/index.d.ts",
35
- "files": [
36
- "./dist/*",
37
- "./src/*",
38
- "LICENSE",
39
- "README.md"
40
- ],
41
- "scripts": {
42
- "dev": "vite",
43
- "build": "vue-tsc -b && vite build",
44
- "preview": "vite preview",
45
- "lint": "eslint .",
46
- "lint:fix": "eslint . --fix"
47
- },
48
- "dependencies": {
49
- "@floating-ui/vue": "^1.1.5",
50
- "@types/node": "^22.9.0",
51
- "@vuepic/vue-datepicker": "^10.0.0",
52
- "@vueuse/core": "^11.2.0",
53
- "sass": "^1.80.6",
54
- "vaul-vue": "^0.2.0",
55
- "vite-plugin-dts": "^4.3.0",
56
- "vue": "^3.5.12"
57
- },
58
- "devDependencies": {
59
- "@antfu/eslint-config": "^3.8.0",
60
- "@iconify/vue": "^4.1.2",
61
- "@vitejs/plugin-vue": "^5.1.5",
62
- "eslint": "^9.14.0",
63
- "eslint-plugin-format": "^0.1.2",
64
- "typescript": "^5.6.3",
65
- "vite": "^5.4.11",
66
- "vue-tsc": "^2.1.10"
67
- }
68
- }
1
+ {
2
+ "name": "@dolanske/vui",
3
+ "type": "module",
4
+ "version": "0.4.0",
5
+ "private": false,
6
+ "description": "Brother in Christ there's a new UI library ",
7
+ "author": "dolanske",
8
+ "license": "GPL-3.0",
9
+ "sass": "src/index.scss",
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "https://github.com/dolanske/vui.git"
13
+ },
14
+ "keywords": [
15
+ "vue",
16
+ "vue3",
17
+ "component"
18
+ ],
19
+ "exports": {
20
+ ".": {
21
+ "types": "./dist/index.d.ts",
22
+ "import": "./dist/vui.js"
23
+ },
24
+ "./style": {
25
+ "import": "./dist/style.css",
26
+ "require": "./dist/style.css",
27
+ "default": "./dist/style.css"
28
+ }
29
+ },
30
+ "main": "./dist/vuicjs",
31
+ "module": "./dist/vui.js",
32
+ "browser": "./dist/vui.js",
33
+ "unpkg": "./dist/vui.js",
34
+ "types": "./dist/index.d.ts",
35
+ "files": [
36
+ "./dist/*",
37
+ "./src/*",
38
+ "LICENSE",
39
+ "README.md"
40
+ ],
41
+ "scripts": {
42
+ "dev": "vite",
43
+ "build": "vue-tsc -b && vite build",
44
+ "preview": "vite preview",
45
+ "lint": "eslint .",
46
+ "lint:fix": "eslint . --fix"
47
+ },
48
+ "dependencies": {
49
+ "@floating-ui/vue": "^1.1.5",
50
+ "@types/node": "^22.9.0",
51
+ "@vuepic/vue-datepicker": "^10.0.0",
52
+ "@vueuse/core": "^11.2.0",
53
+ "sass": "^1.80.6",
54
+ "vaul-vue": "^0.2.0",
55
+ "vite-plugin-dts": "^4.3.0",
56
+ "vue": "^3.5.12"
57
+ },
58
+ "devDependencies": {
59
+ "@antfu/eslint-config": "^3.8.0",
60
+ "@iconify/vue": "^4.1.2",
61
+ "@vitejs/plugin-vue": "^5.1.5",
62
+ "eslint": "^9.14.0",
63
+ "eslint-plugin-format": "^0.1.2",
64
+ "typescript": "^5.6.3",
65
+ "vite": "^5.4.11",
66
+ "vue-tsc": "^2.1.10"
67
+ }
68
+ }
package/src/App.vue CHANGED
@@ -1,175 +1,198 @@
1
- <script setup lang="ts">
2
- import { ref } from 'vue'
3
- import Avatar from './components/Avatar/Avatar.vue'
4
- import Button from './components/Button/Button.vue'
5
- import Divider from './components/Divider/Divider.vue'
6
- import Dropdown from './components/Dropdown/Dropdown.vue'
7
-
8
- import DropdownItem from './components/Dropdown/DropdownItem.vue'
9
- import Flex from './components/Flex/Flex.vue'
10
- import Tab from './components/Tabs/Tab.vue'
11
- import Tabs from './components/Tabs/Tabs.vue'
12
- import Tooltip from './components/Tooltip/Tooltip.vue'
13
-
14
- const tab = ref('components')
15
- </script>
16
-
17
- <template>
18
- <main vaul-drawer-wrapper>
19
- <Tabs v-model="tab" expand>
20
- <Tab id="home" label="Home" icon="ph:house" />
21
- <Tab id="components" label="Components" />
22
- <Tab id="typography" label="Typography" />
23
- </Tabs>
24
- <div style="margin-bottom: 64px;" />
25
- <div v-if="tab === 'home'">
26
- home
27
- </div>
28
-
29
- <div v-if="tab === 'components'">
30
- <h1 class="mb-xl">
31
- Hii
32
- <span class="counter text-color-accent">129</span>
33
- </h1>
34
- <p>I am down</p>
35
-
36
- <Flex>
37
- <Avatar size="s" />
38
- <Avatar size="m" />
39
- <Avatar size="l" />
40
- <Avatar :size="128" />
41
- </Flex>
42
-
43
- <Divider />
44
-
45
- <Tooltip>
46
- <span class="block mb-xl">Hello world</span>
47
- <template #tooltip>
48
- <p>
49
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Porro, animi! Nobis maxime neque cumque, in a amet voluptatibus tenetur dicta eos delectus illo soluta aliquam voluptatum nulla? In, incidunt asperiores?
50
- </p>
51
- </template>
52
- </Tooltip>
53
-
54
- <Dropdown>
55
- <template #trigger="{ toggle }">
56
- <Button aria-label="Dropdown menu trigger" square icon="ph:x" @click="toggle" />
57
- </template>
58
- <DropdownItem>Hiiii</DropdownItem>
59
- </Dropdown>
60
- </div>
61
- <div v-else-if="tab === 'typography'" class="typeset" :style="{ maxWidth: '688px', margin: 'auto' }">
62
- <h1>The Joke Tax Chronicles</h1>
63
- <p>Once upon a time, in a far-off land, there <code>was a very lazy</code> king who spent all day lounging on his throne. One day, his advisors came to him with a problem: the kingdom was running out of money</p>
64
- <h2>The King's Plan</h2>
65
- <p>The king thought long and hard, and finally came up with <a href="#">a brilliant plan</a>: he would tax the jokes in the kingdom.</p>
66
- <blockquote>"After all," he said, "everyone enjoys a good joke, so it's only fair that they should pay for the privilege."</blockquote>
67
- <h3>The Joke Tax</h3>
68
- <p>The king's subjects were not amused. They grumbled and complained, but the king was firm:</p>
69
- <ul class="ul">
70
- <li>
71
- I am an item
72
- <ul>
73
- <li>1st level of puns: 5 gold coins</li>
74
- <li>2nd level of jokes: 10 gold coins</li>
75
- <li>
76
- 3rd level of one-liners : 20 gold coins
77
- <ul>
78
- <li>1st level of puns: 5 gold coins</li>
79
- <li>2nd level of jokes: 10 gold coins</li>
80
- <li>3rd level of one-liners : 20 gold coins</li>
81
- </ul>
82
- </li>
83
- </ul>
84
- </li>
85
- <li>2nd level of jokes: 10 gold coins</li>
86
- <li>3rd level of one-liners : 20 gold coins</li>
87
- </ul>
88
- <p>As a result, people stopped telling jokes, and the kingdom fell into a gloom. But there was one person who refused to let the king's foolishness get him down: a court jester named Jokester.</p>
89
-
90
- <figure>
91
- <img src="https://i.imgur.com/6WQYrfN.jpeg" alt="">
92
- <figcaption>Woah look at these mountains</figcaption>
93
- </figure>
94
-
95
- <h3>Jokester's Revolt</h3>
96
- <p>Jokester began sneaking into the castle in the middle of the night and leaving jokes all over the place: under the king's pillow, in his soup, even in the royal toilet. The king was furious, but he couldn't seem to stop Jokester.</p>
97
- <hr>
98
- <p>And then, one day, the people of the kingdom discovered that the jokes left by Jokester were so funny that they couldn't help but laugh. And once they started laughing, they couldn't stop.</p>
99
- <ol>
100
- <li>But the kind was stupid</li>
101
- <li>He was ratioed 5 times</li>
102
- </ol>
103
- <h3>The People's Rebellion</h3>
104
- <p>The people of the kingdom, feeling uplifted by the laughter, started to tell jokes and puns again, and soon the entire kingdom was in on the joke.</p>
105
-
106
- <table>
107
- <thead>
108
- <tr>
109
- <th>King's Treasury</th>
110
- <th>People's happiness</th>
111
- </tr>
112
- </thead>
113
- <tbody>
114
- <tr>
115
- <td>Empty</td>
116
- <td>And then, one day, the people of the kingdom discovered that the jokes left by Jokester were so funny that they couldn't help but laugh. And once they started laughing, they couldn't stop.</td>
117
- </tr>
118
- <tr>
119
- <td>Modest</td>
120
- <td>Satisfied</td>
121
- </tr>
122
- <tr>
123
- <td>Full</td>
124
- <td>Ecstatic</td>
125
- </tr>
126
- </tbody>
127
- </table>
128
- <p>The king, seeing how much happier his subjects were, realized the error of his ways and repealed the joke tax. Jokester was declared a hero, and the kingdom lived happily ever after.</p>
129
- <p>The moral of the story is: never <code>underestimate</code> the power of a good laugh and always be careful of bad ideas.</p>
130
-
131
- <pre data-lang="JSON">
132
- {
133
- "type": "Feature",
134
- "properties": {
135
- "mag": 1.5,
136
- "place": "77kmNWofSkwentna,Alaska",
137
- "time": 1668256022741,
138
- "updated": 1668256203692,
139
- "tz": null,
140
- "url": "https://earthquake.usgs.gov/earthquakes/eventpage/ak022eit4nup",
141
- "detail": "https://earthquake.usgs.gov/earthquakes/feed/v1.0/detail/ak022eit4nup.geojson",
142
- "felt": null,
143
- "cdi": null,
144
- "mmi": null,
145
- "alert": null,
146
- "status": "automatic",
147
- "tsunami": 0,
148
- "sig": 35,
149
- "net": "ak",
150
- "code": "022eit4nup",
151
- "ids": ",ak022eit4nup,",
152
- "sources": ",ak,",
153
- "types": ",origin,phase-data,",
154
- "nst": null,
155
- "dmin": null,
156
- "rms": 0.55,
157
- "gap": null,
158
- "magType": "ml",
159
- "type": "earthquake",
160
- "title": "M1.5-77kmNWofSkwentna,Alaska"
161
- },
162
- "geometry": {
163
- "type": "Point",
164
- "coordinates": [
165
- -152.2722,
166
- 62.5489,
167
- 4.5
168
- ]
169
- },
170
- "id": "ak022eit4nup"
171
- },
172
- </pre>
173
- </div>
174
- </main>
175
- </template>
1
+ <script setup lang="ts">
2
+ import { ref } from 'vue'
3
+ import Avatar from './components/Avatar/Avatar.vue'
4
+ import Button from './components/Button/Button.vue'
5
+
6
+ import Divider from './components/Divider/Divider.vue'
7
+ import Dropdown from './components/Dropdown/Dropdown.vue'
8
+ import DropdownItem from './components/Dropdown/DropdownItem.vue'
9
+ import Flex from './components/Flex/Flex.vue'
10
+ import Sidebar from './components/Sidebar/Sidebar.vue'
11
+ import Tab from './components/Tabs/Tab.vue'
12
+ import Tabs from './components/Tabs/Tabs.vue'
13
+
14
+ import Tooltip from './components/Tooltip/Tooltip.vue'
15
+
16
+ const tab = ref('components')
17
+ const sidebarOpen = ref(false)
18
+ </script>
19
+
20
+ <template>
21
+ <div class="vui-sidebar-layout">
22
+ <Sidebar v-model="sidebarOpen" appear floaty>
23
+ <template #header>
24
+ <img class="p-xs" style="background:white;border-radius: 16px;width:40px" src="https://dolansky.dev/backgrounds/star.svg" alt="">
25
+ </template>
26
+ <DropdownItem icon="ph:house">
27
+ Home
28
+ </DropdownItem>
29
+ <DropdownItem icon="ph:signpost">
30
+ Routing
31
+ </DropdownItem>
32
+ <template #footer>
33
+ <Button size="l" expand>
34
+ Sign out
35
+ </Button>
36
+ </template>
37
+ </Sidebar>
38
+
39
+ <main vaul-drawer-wrapper>
40
+ <Button icon="ph:sidebar-simple-bold" square @click="sidebarOpen = !sidebarOpen" />
41
+ <Tabs v-model="tab" expand>
42
+ <Tab id="home" label="Home" icon="ph:house" />
43
+ <Tab id="components" label="Components" />
44
+ <Tab id="typography" label="Typography" />
45
+ </Tabs>
46
+ <div style="margin-bottom: 64px;" />
47
+ <div v-if="tab === 'home'">
48
+ home
49
+ </div>
50
+
51
+ <div v-if="tab === 'components'">
52
+ <h1 class="mb-xl">
53
+ Hii
54
+ <span class="counter text-color-accent">129</span>
55
+ </h1>
56
+ <p>I am down</p>
57
+
58
+ <Flex>
59
+ <Avatar size="s" />
60
+ <Avatar size="m" />
61
+ <Avatar size="l" />
62
+ <Avatar :size="80" />
63
+ </Flex>
64
+
65
+ <Divider />
66
+
67
+ <Tooltip>
68
+ <span class="block mb-xl">Hello world</span>
69
+ <template #tooltip>
70
+ <p>
71
+ Lorem ipsum dolor sit amet consectetur adipisicing elit. Porro, animi! Nobis maxime neque cumque, in a amet voluptatibus tenetur dicta eos delectus illo soluta aliquam voluptatum nulla? In, incidunt asperiores?
72
+ </p>
73
+ </template>
74
+ </Tooltip>
75
+
76
+ <Dropdown>
77
+ <template #trigger="{ toggle }">
78
+ <Button aria-label="Dropdown menu trigger" square icon="ph:x" @click="toggle" />
79
+ </template>
80
+ <DropdownItem>Hiiii</DropdownItem>
81
+ </Dropdown>
82
+ </div>
83
+ <div v-else-if="tab === 'typography'" class="typeset" :style="{ maxWidth: '688px', margin: 'auto' }">
84
+ <h1>The Joke Tax Chronicles</h1>
85
+ <p>Once upon a time, in a far-off land, there <code>was a very lazy</code> king who spent all day lounging on his throne. One day, his advisors came to him with a problem: the kingdom was running out of money</p>
86
+ <h2>The King's Plan</h2>
87
+ <p>The king thought long and hard, and finally came up with <a href="#">a brilliant plan</a>: he would tax the jokes in the kingdom.</p>
88
+ <blockquote>"After all," he said, "everyone enjoys a good joke, so it's only fair that they should pay for the privilege."</blockquote>
89
+ <h3>The Joke Tax</h3>
90
+ <p>The king's subjects were not amused. They grumbled and complained, but the king was firm:</p>
91
+ <ul class="ul">
92
+ <li>
93
+ I am an item
94
+ <ul>
95
+ <li>1st level of puns: 5 gold coins</li>
96
+ <li>2nd level of jokes: 10 gold coins</li>
97
+ <li>
98
+ 3rd level of one-liners : 20 gold coins
99
+ <ul>
100
+ <li>1st level of puns: 5 gold coins</li>
101
+ <li>2nd level of jokes: 10 gold coins</li>
102
+ <li>3rd level of one-liners : 20 gold coins</li>
103
+ </ul>
104
+ </li>
105
+ </ul>
106
+ </li>
107
+ <li>2nd level of jokes: 10 gold coins</li>
108
+ <li>3rd level of one-liners : 20 gold coins</li>
109
+ </ul>
110
+ <p>As a result, people stopped telling jokes, and the kingdom fell into a gloom. But there was one person who refused to let the king's foolishness get him down: a court jester named Jokester.</p>
111
+
112
+ <figure>
113
+ <img src="https://i.imgur.com/6WQYrfN.jpeg" alt="">
114
+ <figcaption>Woah look at these mountains</figcaption>
115
+ </figure>
116
+
117
+ <h3>Jokester's Revolt</h3>
118
+ <p>Jokester began sneaking into the castle in the middle of the night and leaving jokes all over the place: under the king's pillow, in his soup, even in the royal toilet. The king was furious, but he couldn't seem to stop Jokester.</p>
119
+ <hr>
120
+ <p>And then, one day, the people of the kingdom discovered that the jokes left by Jokester were so funny that they couldn't help but laugh. And once they started laughing, they couldn't stop.</p>
121
+ <ol>
122
+ <li>But the kind was stupid</li>
123
+ <li>He was ratioed 5 times</li>
124
+ </ol>
125
+ <h3>The People's Rebellion</h3>
126
+ <p>The people of the kingdom, feeling uplifted by the laughter, started to tell jokes and puns again, and soon the entire kingdom was in on the joke.</p>
127
+
128
+ <table>
129
+ <thead>
130
+ <tr>
131
+ <th>King's Treasury</th>
132
+ <th>People's happiness</th>
133
+ </tr>
134
+ </thead>
135
+ <tbody>
136
+ <tr>
137
+ <td>Empty</td>
138
+ <td>And then, one day, the people of the kingdom discovered that the jokes left by Jokester were so funny that they couldn't help but laugh. And once they started laughing, they couldn't stop.</td>
139
+ </tr>
140
+ <tr>
141
+ <td>Modest</td>
142
+ <td>Satisfied</td>
143
+ </tr>
144
+ <tr>
145
+ <td>Full</td>
146
+ <td>Ecstatic</td>
147
+ </tr>
148
+ </tbody>
149
+ </table>
150
+ <p>The king, seeing how much happier his subjects were, realized the error of his ways and repealed the joke tax. Jokester was declared a hero, and the kingdom lived happily ever after.</p>
151
+ <p>The moral of the story is: never <code>underestimate</code> the power of a good laugh and always be careful of bad ideas.</p>
152
+
153
+ <pre data-lang="JSON">
154
+ {
155
+ "type": "Feature",
156
+ "properties": {
157
+ "mag": 1.5,
158
+ "place": "77kmNWofSkwentna,Alaska",
159
+ "time": 1668256022741,
160
+ "updated": 1668256203692,
161
+ "tz": null,
162
+ "url": "https://earthquake.usgs.gov/earthquakes/eventpage/ak022eit4nup",
163
+ "detail": "https://earthquake.usgs.gov/earthquakes/feed/v1.0/detail/ak022eit4nup.geojson",
164
+ "felt": null,
165
+ "cdi": null,
166
+ "mmi": null,
167
+ "alert": null,
168
+ "status": "automatic",
169
+ "tsunami": 0,
170
+ "sig": 35,
171
+ "net": "ak",
172
+ "code": "022eit4nup",
173
+ "ids": ",ak022eit4nup,",
174
+ "sources": ",ak,",
175
+ "types": ",origin,phase-data,",
176
+ "nst": null,
177
+ "dmin": null,
178
+ "rms": 0.55,
179
+ "gap": null,
180
+ "magType": "ml",
181
+ "type": "earthquake",
182
+ "title": "M1.5-77kmNWofSkwentna,Alaska"
183
+ },
184
+ "geometry": {
185
+ "type": "Point",
186
+ "coordinates": [
187
+ -152.2722,
188
+ 62.5489,
189
+ 4.5
190
+ ]
191
+ },
192
+ "id": "ak022eit4nup"
193
+ },
194
+ </pre>
195
+ </div>
196
+ </main>
197
+ </div>
198
+ </template>