@dolanske/vui 0.3.2 → 0.3.4
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.
- package/LICENSE +673 -673
- package/README.md +40 -40
- package/dist/components/Avatar/Avatar.vue.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/vui.js +825 -809
- package/package.json +68 -68
- package/src/App.vue +175 -160
- package/src/components/Accordion/Accordion.vue +91 -91
- package/src/components/Accordion/AccordionGroup.vue +43 -43
- package/src/components/Accordion/accordion.scss +80 -80
- package/src/components/Alert/Alert.vue +53 -53
- package/src/components/Alert/alert.scss +80 -80
- package/src/components/Avatar/Avatar.vue +50 -43
- package/src/components/Avatar/avatar.scss +52 -50
- package/src/components/Badge/Badge.vue +21 -21
- package/src/components/Badge/badge.scss +89 -89
- package/src/components/Breadcrumbs/BreadcrumbItem.vue +26 -26
- package/src/components/Breadcrumbs/Breadcrumbs.vue +33 -33
- package/src/components/Breadcrumbs/breadcrumbs.scss +30 -30
- package/src/components/Button/Button.vue +90 -90
- package/src/components/Button/button.scss +176 -176
- package/src/components/ButtonGroup/ButtonGroup.vue +25 -25
- package/src/components/ButtonGroup/button-group.scss +51 -51
- package/src/components/Calendar/Calendar.vue +60 -60
- package/src/components/Calendar/calendar.scss +56 -56
- package/src/components/Card/Card.vue +48 -48
- package/src/components/Card/card.scss +53 -53
- package/src/components/Checkbox/Checkbox.vue +52 -52
- package/src/components/Checkbox/checkbox.scss +66 -66
- package/src/components/CopyClipboard/CopyClipboard.vue +82 -82
- package/src/components/CopyClipboard/copy-clipboard.scss +17 -17
- package/src/components/Divider/Divider.vue +44 -44
- package/src/components/Divider/divider.scss +35 -35
- package/src/components/Drawer/Drawer.vue +97 -97
- package/src/components/Drawer/drawer.scss +36 -36
- package/src/components/Dropdown/Dropdown.vue +111 -110
- package/src/components/Dropdown/DropdownItem.vue +29 -29
- package/src/components/Dropdown/DropdownTitle.vue +8 -8
- package/src/components/Dropdown/dropdown.scss +117 -116
- package/src/components/Flex/Flex.vue +106 -106
- package/src/components/Grid/Grid.vue +54 -54
- package/src/components/Input/Counter.vue +70 -70
- package/src/components/Input/Dropzone.vue +65 -65
- package/src/components/Input/File.vue +15 -15
- package/src/components/Input/Input.vue +121 -121
- package/src/components/Input/Password.vue +47 -47
- package/src/components/Input/Textarea.vue +76 -76
- package/src/components/Input/input.scss +208 -208
- package/src/components/Kbd/Kbd.vue +48 -48
- package/src/components/Kbd/KbdGroup.vue +31 -31
- package/src/components/Kbd/kbd.scss +18 -18
- package/src/components/Modal/Confirm.vue +56 -56
- package/src/components/Modal/Modal.vue +91 -91
- package/src/components/Modal/modal.scss +49 -49
- package/src/components/OTP/OTP.vue +133 -133
- package/src/components/OTP/OTPItem.vue +37 -37
- package/src/components/OTP/otp.scss +83 -83
- package/src/components/Pagination/Pagination.vue +74 -74
- package/src/components/Pagination/pagination.ts +78 -78
- package/src/components/Popout/Popout.vue +42 -39
- package/src/components/Popout/popout.scss +8 -8
- package/src/components/Progress/Progress.vue +90 -90
- package/src/components/Progress/progress.scss +41 -41
- package/src/components/Radio/Radio.vue +36 -36
- package/src/components/Radio/RadioGroup.vue +40 -40
- package/src/components/Radio/radio.scss +59 -59
- package/src/components/Select/Select.vue +180 -180
- package/src/components/Select/select.scss +44 -44
- package/src/components/Sheet/Sheet.vue +92 -92
- package/src/components/Sheet/sheet.scss +60 -60
- package/src/components/Skeleton/Skeleton.vue +43 -43
- package/src/components/Skeleton/skeleton.scss +14 -14
- package/src/components/Spinner/Spinner.vue +42 -42
- package/src/components/Spinner/spinner.scss +46 -46
- package/src/components/Switch/Switch.vue +30 -30
- package/src/components/Switch/switch.scss +52 -52
- package/src/components/Table/Cell.vue +23 -23
- package/src/components/Table/Header.vue +59 -59
- package/src/components/Table/Row.vue +9 -9
- package/src/components/Table/SelectAll.vue +23 -23
- package/src/components/Table/SelectRow.vue +29 -29
- package/src/components/Table/Table.vue +66 -66
- package/src/components/Table/table.scss +134 -134
- package/src/components/Table/table.ts +244 -244
- package/src/components/Tabs/Tab.vue +27 -27
- package/src/components/Tabs/Tabs.vue +82 -80
- package/src/components/Tabs/tabs.scss +79 -79
- package/src/components/Toast/Toasts.vue +47 -47
- package/src/components/Toast/toast.scss +41 -41
- package/src/components/Toast/toast.ts +68 -68
- package/src/components/Tooltip/Tooltip.vue +86 -84
- package/src/components/Tooltip/tooltip.scss +4 -4
- package/src/index.scss +1 -1
- package/src/index.ts +119 -119
- package/src/internal/Backdrop/Backdrop.vue +22 -22
- package/src/internal/Backdrop/backdrop.scss +28 -28
- package/src/main.ts +5 -5
- package/src/shared/helpers.ts +74 -74
- package/src/shared/types.ts +29 -29
- package/src/style/animation.scss +21 -21
- package/src/style/core.scss +148 -146
- package/src/style/fonts.scss +53 -53
- package/src/style/layout.scss +136 -136
- package/src/style/media-query.scss +29 -29
- package/src/style/reset.scss +135 -135
- package/src/style/tooltip.scss +128 -128
- package/src/style/typography.scss +338 -338
- 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.
|
|
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.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
|
+
}
|
package/src/App.vue
CHANGED
|
@@ -1,160 +1,175 @@
|
|
|
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
|
|
7
|
-
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
<
|
|
39
|
-
<
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
<
|
|
55
|
-
<
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
<li>
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
<li>
|
|
86
|
-
<li>
|
|
87
|
-
</
|
|
88
|
-
<
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
<
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
<
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
"
|
|
136
|
-
"
|
|
137
|
-
"
|
|
138
|
-
"
|
|
139
|
-
"
|
|
140
|
-
"
|
|
141
|
-
"
|
|
142
|
-
"
|
|
143
|
-
"
|
|
144
|
-
"
|
|
145
|
-
"
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
"
|
|
149
|
-
"
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
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>
|